Struct ttrss_api::Preference
source · pub struct Preference {
pub value: Value,
}
Fields§
§value: Value
Trait Implementations§
source§impl Clone for Preference
impl Clone for Preference
source§fn clone(&self) -> Preference
fn clone(&self) -> Preference
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 Preference
impl Debug for Preference
source§impl<'de> Deserialize<'de> for Preference
impl<'de> Deserialize<'de> for Preference
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<Preference> for Preference
impl PartialEq<Preference> for Preference
source§fn eq(&self, other: &Preference) -> bool
fn eq(&self, other: &Preference) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for Preference
impl Serialize for Preference
impl Eq for Preference
impl StructuralEq for Preference
impl StructuralPartialEq for Preference
Auto Trait Implementations§
impl RefUnwindSafe for Preference
impl Send for Preference
impl Sync for Preference
impl Unpin for Preference
impl UnwindSafe for Preference
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.