pub struct FlavorRef { /* private fields */ }
Expand description
An ID of a Flavor
Trait Implementations
sourceimpl<'de> Deserialize<'de> for FlavorRef
impl<'de> Deserialize<'de> for FlavorRef
sourcefn deserialize<D>(deserializer: D) -> Result<FlavorRef, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<FlavorRef, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl From<FlavorSummary> for FlavorRef
impl From<FlavorSummary> for FlavorRef
sourcefn from(value: FlavorSummary) -> FlavorRef
fn from(value: FlavorSummary) -> FlavorRef
Converts to this type from the input type.
impl Eq for FlavorRef
impl StructuralEq for FlavorRef
impl StructuralPartialEq for FlavorRef
Auto Trait Implementations
impl RefUnwindSafe for FlavorRef
impl Send for FlavorRef
impl Sync for FlavorRef
impl Unpin for FlavorRef
impl UnwindSafe for FlavorRef
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<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,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.