pub struct SubjectStatusViewData {Show 18 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_reporting_until: Option<Datetime>,
pub mute_until: Option<Datetime>,
pub review_state: SubjectReviewState,
pub subject: Union<SubjectStatusViewSubjectRefs>,
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,
}Available on crate feature
namespace-toolsozone only.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: DatetimeTimestamp 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_reporting_until: Option<Datetime>§mute_until: Option<Datetime>§review_state: SubjectReviewState§subject: Union<SubjectStatusViewSubjectRefs>§subject_blob_cids: Option<Vec<Cid>>§subject_repo_handle: Option<String>§suspend_until: Option<Datetime>§takendown: Option<bool>§updated_at: DatetimeTimestamp referencing when the last update was made to the moderation status of the subject
Trait Implementations§
Source§impl Clone for SubjectStatusViewData
impl Clone for SubjectStatusViewData
Source§fn clone(&self) -> SubjectStatusViewData
fn clone(&self) -> SubjectStatusViewData
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 SubjectStatusViewData
impl Debug for SubjectStatusViewData
Source§impl<'de> Deserialize<'de> for SubjectStatusViewData
impl<'de> Deserialize<'de> for SubjectStatusViewData
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 SubjectStatusViewData
impl PartialEq for SubjectStatusViewData
Source§impl Serialize for SubjectStatusViewData
impl Serialize for SubjectStatusViewData
impl Eq for SubjectStatusViewData
impl StructuralPartialEq for SubjectStatusViewData
Auto Trait Implementations§
impl Freeze for SubjectStatusViewData
impl RefUnwindSafe for SubjectStatusViewData
impl Send for SubjectStatusViewData
impl Sync for SubjectStatusViewData
impl Unpin for SubjectStatusViewData
impl UnwindSafe for SubjectStatusViewData
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.