pub struct SubjectStatusView<'a> {Show 25 fields
pub account_stats: Option<AccountStats<'a>>,
pub age_assurance_state: Option<CowStr<'a>>,
pub age_assurance_updated_by: Option<CowStr<'a>>,
pub appealed: Option<bool>,
pub comment: Option<CowStr<'a>>,
pub created_at: Datetime,
pub hosting: Option<SubjectStatusViewHosting<'a>>,
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<'a>>,
pub mute_reporting_until: Option<Datetime>,
pub mute_until: Option<Datetime>,
pub priority_score: Option<i64>,
pub records_stats: Option<RecordsStats<'a>>,
pub review_state: SubjectReviewState<'a>,
pub subject: SubjectStatusViewSubject<'a>,
pub subject_blob_cids: Option<Vec<Cid<'a>>>,
pub subject_repo_handle: Option<CowStr<'a>>,
pub suspend_until: Option<Datetime>,
pub tags: Option<Vec<CowStr<'a>>>,
pub takendown: Option<bool>,
pub updated_at: Datetime,
pub extra_data: BTreeMap<SmolStr, Data<'a>>,
}Fields§
§account_stats: Option<AccountStats<'a>>Statistics related to the account subject
age_assurance_state: Option<CowStr<'a>>Current age assurance state of the subject.
age_assurance_updated_by: Option<CowStr<'a>>Whether or not the last successful update to age assurance was made by the user or admin.
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<CowStr<'a>>Sticky comment on the subject.
created_at: DatetimeTimestamp referencing the first moderation status impacting event was emitted on the subject
hosting: Option<SubjectStatusViewHosting<'a>>§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<'a>>§mute_reporting_until: Option<Datetime>§mute_until: Option<Datetime>§priority_score: Option<i64>Numeric value representing the level of priority. Higher score means higher priority.
records_stats: Option<RecordsStats<'a>>Statistics related to the record subjects authored by the subject’s account
review_state: SubjectReviewState<'a>§subject: SubjectStatusViewSubject<'a>§subject_blob_cids: Option<Vec<Cid<'a>>>§subject_repo_handle: Option<CowStr<'a>>§suspend_until: Option<Datetime>§takendown: Option<bool>§updated_at: DatetimeTimestamp referencing when the last update was made to the moderation status of the subject
extra_data: BTreeMap<SmolStr, Data<'a>>Trait Implementations§
Source§impl<'a> Clone for SubjectStatusView<'a>
impl<'a> Clone for SubjectStatusView<'a>
Source§fn clone(&self) -> SubjectStatusView<'a>
fn clone(&self) -> SubjectStatusView<'a>
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl<'a> Debug for SubjectStatusView<'a>
impl<'a> Debug for SubjectStatusView<'a>
Source§impl<'de: 'a, 'a> Deserialize<'de> for SubjectStatusView<'a>
impl<'de: 'a, 'a> Deserialize<'de> for SubjectStatusView<'a>
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>,
Source§impl<'a> IntoStatic for SubjectStatusView<'a>
impl<'a> IntoStatic for SubjectStatusView<'a>
Source§type Output = SubjectStatusView<'static>
type Output = SubjectStatusView<'static>
Cow<'a, str>, this is Cow<'static, str>, for example.Source§fn into_static(self) -> Self::Output
fn into_static(self) -> Self::Output
Source§impl<'a> PartialEq for SubjectStatusView<'a>
impl<'a> PartialEq for SubjectStatusView<'a>
Source§impl<'a> Serialize for SubjectStatusView<'a>
impl<'a> Serialize for SubjectStatusView<'a>
impl<'a> Eq for SubjectStatusView<'a>
impl<'a> StructuralPartialEq for SubjectStatusView<'a>
Auto Trait Implementations§
impl<'a> !Freeze for SubjectStatusView<'a>
impl<'a> RefUnwindSafe for SubjectStatusView<'a>
impl<'a> Send for SubjectStatusView<'a>
impl<'a> Sync for SubjectStatusView<'a>
impl<'a> Unpin for SubjectStatusView<'a>
impl<'a> UnwindSafe for SubjectStatusView<'a>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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
key and return true if they are equal.