pub struct PreferenceKey {
pub name: String,
pub value: Option<String>,
pub negate: Option<YesNo>,
}Fields§
§name: String§value: Option<String>§negate: Option<YesNo>Implementations§
Source§impl PreferenceKey
impl PreferenceKey
Sourcepub fn builder() -> PreferenceKeyBuilder
pub fn builder() -> PreferenceKeyBuilder
Create an instance of PreferenceKey using the builder syntax
Trait Implementations§
Source§impl Clone for PreferenceKey
impl Clone for PreferenceKey
Source§fn clone(&self) -> PreferenceKey
fn clone(&self) -> PreferenceKey
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 PreferenceKey
impl Debug for PreferenceKey
Source§impl<'de> Deserialize<'de> for PreferenceKey
impl<'de> Deserialize<'de> for PreferenceKey
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
Auto Trait Implementations§
impl Freeze for PreferenceKey
impl RefUnwindSafe for PreferenceKey
impl Send for PreferenceKey
impl Sync for PreferenceKey
impl Unpin for PreferenceKey
impl UnwindSafe for PreferenceKey
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