pub struct RecordData {
pub created_at: Datetime,
pub labels: Option<Union<RecordLabelsRefs>>,
pub policies: LabelerPolicies,
pub reason_types: Option<Vec<ReasonType>>,
pub subject_collections: Option<Vec<Nsid>>,
pub subject_types: Option<Vec<SubjectType>>,
}
Available on crate feature
namespace-appbsky
only.Fields§
§created_at: Datetime
§labels: Option<Union<RecordLabelsRefs>>
§policies: LabelerPolicies
§reason_types: Option<Vec<ReasonType>>
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>>
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>>
The set of subject types (account, record, etc) this service accepts reports on.
Trait Implementations§
Source§impl Clone for RecordData
impl Clone for RecordData
Source§fn clone(&self) -> RecordData
fn clone(&self) -> RecordData
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 Debug for RecordData
impl Debug for RecordData
Source§impl<'de> Deserialize<'de> for RecordData
impl<'de> Deserialize<'de> for RecordData
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 From<RecordData> for KnownRecord
impl From<RecordData> for KnownRecord
Source§fn from(record_data: RecordData) -> Self
fn from(record_data: RecordData) -> Self
Converts to this type from the input type.
Source§impl PartialEq for RecordData
impl PartialEq for RecordData
Source§impl Serialize for RecordData
impl Serialize for RecordData
impl Eq for RecordData
impl StructuralPartialEq for RecordData
Auto Trait Implementations§
impl Freeze for RecordData
impl RefUnwindSafe for RecordData
impl Send for RecordData
impl Sync for RecordData
impl Unpin for RecordData
impl UnwindSafe for RecordData
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.