pub struct SelfLabelData {
pub val: String,
}Expand description
Metadata tag on an atproto record, published by the author within the record. Note that schemas should use #selfLabels, not #selfLabel.
Fields§
§val: StringThe short string name of the value or type of this label.
Trait Implementations§
Source§impl Clone for SelfLabelData
impl Clone for SelfLabelData
Source§fn clone(&self) -> SelfLabelData
fn clone(&self) -> SelfLabelData
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SelfLabelData
impl Debug for SelfLabelData
Source§impl<'de> Deserialize<'de> for SelfLabelData
impl<'de> Deserialize<'de> for SelfLabelData
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
impl Eq for SelfLabelData
Source§impl PartialEq for SelfLabelData
impl PartialEq for SelfLabelData
Source§fn eq(&self, other: &SelfLabelData) -> bool
fn eq(&self, other: &SelfLabelData) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SelfLabelData
impl Serialize for SelfLabelData
impl StructuralPartialEq for SelfLabelData
Auto Trait Implementations§
impl Freeze for SelfLabelData
impl RefUnwindSafe for SelfLabelData
impl Send for SelfLabelData
impl Sync for SelfLabelData
impl Unpin for SelfLabelData
impl UnsafeUnpin for SelfLabelData
impl UnwindSafe for SelfLabelData
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.