Struct atrium_api::app::bsky::actor::defs::ContentLabelPref
source · pub struct ContentLabelPref {
pub label: String,
pub labeler_did: Option<Did>,
pub visibility: String,
}Available on crate feature
namespace-appbsky only.Fields§
§label: String§labeler_did: Option<Did>Which labeler does this preference apply to? If undefined, applies globally.
visibility: StringTrait Implementations§
source§impl Clone for ContentLabelPref
impl Clone for ContentLabelPref
source§fn clone(&self) -> ContentLabelPref
fn clone(&self) -> ContentLabelPref
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 ContentLabelPref
impl Debug for ContentLabelPref
source§impl<'de> Deserialize<'de> for ContentLabelPref
impl<'de> Deserialize<'de> for ContentLabelPref
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 ContentLabelPref
impl PartialEq for ContentLabelPref
source§fn eq(&self, other: &ContentLabelPref) -> bool
fn eq(&self, other: &ContentLabelPref) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for ContentLabelPref
impl Serialize for ContentLabelPref
impl Eq for ContentLabelPref
impl StructuralPartialEq for ContentLabelPref
Auto Trait Implementations§
impl Freeze for ContentLabelPref
impl RefUnwindSafe for ContentLabelPref
impl Send for ContentLabelPref
impl Sync for ContentLabelPref
impl Unpin for ContentLabelPref
impl UnwindSafe for ContentLabelPref
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<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.