Struct atrium_api::com::atproto::admin::defs::SubjectStatusView
source · pub struct SubjectStatusView {Show 17 fields
pub appealed: Option<bool>,
pub comment: Option<String>,
pub created_at: Datetime,
pub id: i64,
pub last_appealed_at: Option<Datetime>,
pub last_reported_at: Option<Datetime>,
pub last_reviewed_at: Option<Datetime>,
pub last_reviewed_by: Option<Did>,
pub mute_until: Option<Datetime>,
pub review_state: SubjectReviewState,
pub subject: SubjectStatusViewSubjectEnum,
pub subject_blob_cids: Option<Vec<Cid>>,
pub subject_repo_handle: Option<String>,
pub suspend_until: Option<Datetime>,
pub tags: Option<Vec<String>>,
pub takendown: Option<bool>,
pub updated_at: Datetime,
}
Fields§
§appealed: Option<bool>
True indicates that the a previously taken moderator action was appealed against, by the author of the content. False indicates last appeal was resolved by moderators.
comment: Option<String>
Sticky comment on the subject.
created_at: Datetime
Timestamp referencing the first moderation status impacting event was emitted on the subject
id: i64
§last_appealed_at: Option<Datetime>
Timestamp referencing when the author of the subject appealed a moderation action
last_reported_at: Option<Datetime>
§last_reviewed_at: Option<Datetime>
§last_reviewed_by: Option<Did>
§mute_until: Option<Datetime>
§review_state: SubjectReviewState
§subject: SubjectStatusViewSubjectEnum
§subject_blob_cids: Option<Vec<Cid>>
§subject_repo_handle: Option<String>
§suspend_until: Option<Datetime>
§takendown: Option<bool>
§updated_at: Datetime
Timestamp referencing when the last update was made to the moderation status of the subject
Trait Implementations§
source§impl Clone for SubjectStatusView
impl Clone for SubjectStatusView
source§fn clone(&self) -> SubjectStatusView
fn clone(&self) -> SubjectStatusView
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SubjectStatusView
impl Debug for SubjectStatusView
source§impl<'de> Deserialize<'de> for SubjectStatusView
impl<'de> Deserialize<'de> for SubjectStatusView
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
source§impl PartialEq for SubjectStatusView
impl PartialEq for SubjectStatusView
source§fn eq(&self, other: &SubjectStatusView) -> bool
fn eq(&self, other: &SubjectStatusView) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SubjectStatusView
impl Serialize for SubjectStatusView
impl Eq for SubjectStatusView
impl StructuralPartialEq for SubjectStatusView
Auto Trait Implementations§
impl RefUnwindSafe for SubjectStatusView
impl Send for SubjectStatusView
impl Sync for SubjectStatusView
impl Unpin for SubjectStatusView
impl UnwindSafe for SubjectStatusView
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