pub struct DeclaredAgePrefData {
pub is_over_age13: Option<bool>,
pub is_over_age16: Option<bool>,
pub is_over_age18: Option<bool>,
}Available on crate feature
namespace-appbsky only.Expand description
Read-only preference containing value(s) inferred from the user’s declared birthdate. Absence of this preference object in the response indicates that the user has not made a declaration.
Fields§
§is_over_age13: Option<bool>Indicates if the user has declared that they are over 13 years of age.
is_over_age16: Option<bool>Indicates if the user has declared that they are over 16 years of age.
is_over_age18: Option<bool>Indicates if the user has declared that they are over 18 years of age.
Trait Implementations§
Source§impl Clone for DeclaredAgePrefData
impl Clone for DeclaredAgePrefData
Source§impl Debug for DeclaredAgePrefData
impl Debug for DeclaredAgePrefData
Source§impl<'de> Deserialize<'de> for DeclaredAgePrefData
impl<'de> Deserialize<'de> for DeclaredAgePrefData
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 DeclaredAgePrefData
Source§impl PartialEq for DeclaredAgePrefData
impl PartialEq for DeclaredAgePrefData
Source§impl Serialize for DeclaredAgePrefData
impl Serialize for DeclaredAgePrefData
impl StructuralPartialEq for DeclaredAgePrefData
Auto Trait Implementations§
impl Freeze for DeclaredAgePrefData
impl RefUnwindSafe for DeclaredAgePrefData
impl Send for DeclaredAgePrefData
impl Sync for DeclaredAgePrefData
impl Unpin for DeclaredAgePrefData
impl UnsafeUnpin for DeclaredAgePrefData
impl UnwindSafe for DeclaredAgePrefData
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.