pub struct FileAppealRequest {
pub agent_id: AgentId,
pub moderation_action_id: Uuid,
pub appeal_statement: String,
pub signature: String,
pub timestamp: i64,
}Expand description
File an appeal against a moderation action.
Currently out of scope for the SignedAction unification — appeals
live in a separate module and will be folded in as a follow-up.
Fields§
§agent_id: AgentId§moderation_action_id: UuidThe ID of the moderation action being appealed.
appeal_statement: String§signature: StringHex-encoded Ed25519 signature.
timestamp: i64Unix timestamp used in signature computation.
Trait Implementations§
Source§impl Debug for FileAppealRequest
impl Debug for FileAppealRequest
Source§impl<'de> Deserialize<'de> for FileAppealRequest
impl<'de> Deserialize<'de> for FileAppealRequest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for FileAppealRequest
impl RefUnwindSafe for FileAppealRequest
impl Send for FileAppealRequest
impl Sync for FileAppealRequest
impl Unpin for FileAppealRequest
impl UnsafeUnpin for FileAppealRequest
impl UnwindSafe for FileAppealRequest
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more