pub struct DistributorRef(pub String);Expand description
Identifier referencing a distributor instance.
Tuple Fields§
§0: StringImplementations§
Trait Implementations§
Source§impl AsRef<str> for DistributorRef
impl AsRef<str> for DistributorRef
Source§impl Clone for DistributorRef
impl Clone for DistributorRef
Source§fn clone(&self) -> DistributorRef
fn clone(&self) -> DistributorRef
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 DistributorRef
impl Debug for DistributorRef
Source§impl<'de> Deserialize<'de> for DistributorRef
impl<'de> Deserialize<'de> for DistributorRef
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 DistributorRef
impl Display for DistributorRef
Source§impl From<DistributorRef> for String
impl From<DistributorRef> for String
Source§fn from(value: DistributorRef) -> Self
fn from(value: DistributorRef) -> Self
Converts to this type from the input type.
Source§impl FromStr for DistributorRef
impl FromStr for DistributorRef
Source§impl Hash for DistributorRef
impl Hash for DistributorRef
Source§impl Ord for DistributorRef
impl Ord for DistributorRef
Source§fn cmp(&self, other: &DistributorRef) -> Ordering
fn cmp(&self, other: &DistributorRef) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for DistributorRef
impl PartialEq for DistributorRef
Source§impl PartialOrd for DistributorRef
impl PartialOrd for DistributorRef
Source§impl Serialize for DistributorRef
impl Serialize for DistributorRef
Source§impl TryFrom<&str> for DistributorRef
impl TryFrom<&str> for DistributorRef
Source§impl TryFrom<String> for DistributorRef
impl TryFrom<String> for DistributorRef
impl Eq for DistributorRef
impl StructuralPartialEq for DistributorRef
Auto Trait Implementations§
impl Freeze for DistributorRef
impl RefUnwindSafe for DistributorRef
impl Send for DistributorRef
impl Sync for DistributorRef
impl Unpin for DistributorRef
impl UnwindSafe for DistributorRef
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> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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.