pub enum BondRelation {
SpawnedFrom,
AbsorbedFrom,
DependsOn,
Follows,
Extends,
Other(String),
}Variants§
Implementations§
Source§impl BondRelation
impl BondRelation
pub fn as_str(&self) -> &str
pub fn is_historical(&self) -> bool
pub fn participates_in_bond_updates(&self) -> bool
pub fn is_spawned_from(&self) -> bool
pub fn is_absorbed_from(&self) -> bool
pub fn is_excluded_from_bond_fetch(&self) -> bool
Trait Implementations§
Source§impl Clone for BondRelation
impl Clone for BondRelation
Source§fn clone(&self) -> BondRelation
fn clone(&self) -> BondRelation
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 BondRelation
impl Debug for BondRelation
Source§impl<'de> Deserialize<'de> for BondRelation
impl<'de> Deserialize<'de> for BondRelation
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 Display for BondRelation
impl Display for BondRelation
Source§impl FromStr for BondRelation
impl FromStr for BondRelation
Source§impl Hash for BondRelation
impl Hash for BondRelation
Source§impl PartialEq for BondRelation
impl PartialEq for BondRelation
Source§impl Serialize for BondRelation
impl Serialize for BondRelation
impl Eq for BondRelation
impl StructuralPartialEq for BondRelation
Auto Trait Implementations§
impl Freeze for BondRelation
impl RefUnwindSafe for BondRelation
impl Send for BondRelation
impl Sync for BondRelation
impl Unpin for BondRelation
impl UnsafeUnpin for BondRelation
impl UnwindSafe for BondRelation
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.