pub struct LabelerViewDetailed<'a> {
pub cid: Cid<'a>,
pub creator: ProfileView<'a>,
pub indexed_at: Datetime,
pub labels: Option<Vec<Label<'a>>>,
pub like_count: Option<i64>,
pub policies: LabelerPolicies<'a>,
pub reason_types: Option<Vec<ReasonType<'a>>>,
pub subject_collections: Option<Vec<Nsid<'a>>>,
pub subject_types: Option<Vec<SubjectType<'a>>>,
pub uri: AtUri<'a>,
pub viewer: Option<LabelerViewerState<'a>>,
pub extra_data: BTreeMap<SmolStr, Data<'a>>,
}Fields§
§cid: Cid<'a>§creator: ProfileView<'a>§indexed_at: Datetime§labels: Option<Vec<Label<'a>>>§like_count: Option<i64>§policies: LabelerPolicies<'a>§reason_types: Option<Vec<ReasonType<'a>>>The set of report reason ‘codes’ which are in-scope for this service to review and action. These usually align to policy categories. If not defined (distinct from empty array), all reason types are allowed.
subject_collections: Option<Vec<Nsid<'a>>>Set of record types (collection NSIDs) which can be reported to this service. If not defined (distinct from empty array), default is any record type.
subject_types: Option<Vec<SubjectType<'a>>>The set of subject types (account, record, etc) this service accepts reports on.
uri: AtUri<'a>§viewer: Option<LabelerViewerState<'a>>§extra_data: BTreeMap<SmolStr, Data<'a>>Trait Implementations§
Source§impl<'a> Clone for LabelerViewDetailed<'a>
impl<'a> Clone for LabelerViewDetailed<'a>
Source§fn clone(&self) -> LabelerViewDetailed<'a>
fn clone(&self) -> LabelerViewDetailed<'a>
Returns a duplicate 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<'a> Debug for LabelerViewDetailed<'a>
impl<'a> Debug for LabelerViewDetailed<'a>
Source§impl<'de: 'a, 'a> Deserialize<'de> for LabelerViewDetailed<'a>
impl<'de: 'a, 'a> Deserialize<'de> for LabelerViewDetailed<'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>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl IntoStatic for LabelerViewDetailed<'_>
impl IntoStatic for LabelerViewDetailed<'_>
Source§type Output = LabelerViewDetailed<'static>
type Output = LabelerViewDetailed<'static>
The “owned” variant of the type. For
Cow<'a, str>, this is Cow<'static, str>, for example.Source§fn into_static(self) -> Self::Output
fn into_static(self) -> Self::Output
Turns the value into an “owned” variant, which can then be returned, moved, etc. Read more
Source§impl<'a> PartialEq for LabelerViewDetailed<'a>
impl<'a> PartialEq for LabelerViewDetailed<'a>
Source§impl<'a> Serialize for LabelerViewDetailed<'a>
impl<'a> Serialize for LabelerViewDetailed<'a>
impl<'a> Eq for LabelerViewDetailed<'a>
impl<'a> StructuralPartialEq for LabelerViewDetailed<'a>
Auto Trait Implementations§
impl<'a> !Freeze for LabelerViewDetailed<'a>
impl<'a> RefUnwindSafe for LabelerViewDetailed<'a>
impl<'a> Send for LabelerViewDetailed<'a>
impl<'a> Sync for LabelerViewDetailed<'a>
impl<'a> Unpin for LabelerViewDetailed<'a>
impl<'a> UnwindSafe for LabelerViewDetailed<'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
Mutably borrows from an owned value. Read more
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
Compare self to
key and return true if they are equal.