pub struct BondTasteRef {
pub uri: String,
pub relation: BondRelation,
pub id: Option<String>,
pub taste: String,
}Expand description
A bond ref with its taste status, returned when some refs are not tasted.
Fields§
§uri: String§relation: BondRelation§id: Option<String>§taste: String"safe", "rotten", "toxic", or "not_tasted".
Trait Implementations§
Source§impl Clone for BondTasteRef
impl Clone for BondTasteRef
Source§fn clone(&self) -> BondTasteRef
fn clone(&self) -> BondTasteRef
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 BondTasteRef
impl Debug for BondTasteRef
Source§impl<'de> Deserialize<'de> for BondTasteRef
impl<'de> Deserialize<'de> for BondTasteRef
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 BondTasteRef
impl RefUnwindSafe for BondTasteRef
impl Send for BondTasteRef
impl Sync for BondTasteRef
impl Unpin for BondTasteRef
impl UnsafeUnpin for BondTasteRef
impl UnwindSafe for BondTasteRef
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