pub struct ComponentRef(pub String);Expand description
Supply-chain component reference (distinct from pack ComponentId).
Tuple Fields§
§0: StringImplementations§
Trait Implementations§
Source§impl AsRef<str> for ComponentRef
impl AsRef<str> for ComponentRef
Source§impl Clone for ComponentRef
impl Clone for ComponentRef
Source§fn clone(&self) -> ComponentRef
fn clone(&self) -> ComponentRef
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ComponentRef
impl Debug for ComponentRef
Source§impl<'de> Deserialize<'de> for ComponentRef
impl<'de> Deserialize<'de> for ComponentRef
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 ComponentRef
impl Display for ComponentRef
Source§impl From<ComponentRef> for String
impl From<ComponentRef> for String
Source§fn from(value: ComponentRef) -> Self
fn from(value: ComponentRef) -> Self
Converts to this type from the input type.
Source§impl FromStr for ComponentRef
impl FromStr for ComponentRef
Source§impl Hash for ComponentRef
impl Hash for ComponentRef
Source§impl Ord for ComponentRef
impl Ord for ComponentRef
Source§impl PartialEq for ComponentRef
impl PartialEq for ComponentRef
Source§impl PartialOrd for ComponentRef
impl PartialOrd for ComponentRef
Source§impl Serialize for ComponentRef
impl Serialize for ComponentRef
Source§impl TryFrom<&str> for ComponentRef
impl TryFrom<&str> for ComponentRef
Source§impl TryFrom<String> for ComponentRef
impl TryFrom<String> for ComponentRef
impl Eq for ComponentRef
impl StructuralPartialEq for ComponentRef
Auto Trait Implementations§
impl Freeze for ComponentRef
impl RefUnwindSafe for ComponentRef
impl Send for ComponentRef
impl Sync for ComponentRef
impl Unpin for ComponentRef
impl UnwindSafe for ComponentRef
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)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.