INNER CODE UNIT · Rust
flag_status
zly2006/zhihu-plus-plus · aigc-vote-server/src/lib.rs:337
async fn flag_status(
&self,
content_type: String,
content_id: String,
client_id: Option<String>,
voter_id: Option<String>,
voter_name: Option<String>,
voter_url_token: Option<String>,
) -> Result<AigcFlagStatusResponse, ServiceError>;
}
struct MemoryVoteStore {
data: Mutex<MemoryData>,
credit_bypass_voters: HashSet<String>,
}
impl MemoryVoteStore {
fn new(credit_bypass_voters: HashSet<String>) -> Self {