pub struct PrefEnabled {
pub for_user: bool,
pub for_contact: bool,
pub undocumented: BTreeMap<String, JsonObject>,
}Fields§
§for_user: bool§for_contact: bool§undocumented: BTreeMap<String, JsonObject>Trait Implementations§
Source§impl Clone for PrefEnabled
impl Clone for PrefEnabled
Source§fn clone(&self) -> PrefEnabled
fn clone(&self) -> PrefEnabled
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 PrefEnabled
impl Debug for PrefEnabled
Source§impl<'de> Deserialize<'de> for PrefEnabled
impl<'de> Deserialize<'de> for PrefEnabled
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 PrefEnabled
impl PartialEq for PrefEnabled
Source§impl Serialize for PrefEnabled
impl Serialize for PrefEnabled
impl StructuralPartialEq for PrefEnabled
Auto Trait Implementations§
impl Freeze for PrefEnabled
impl RefUnwindSafe for PrefEnabled
impl Send for PrefEnabled
impl Sync for PrefEnabled
impl Unpin for PrefEnabled
impl UnwindSafe for PrefEnabled
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