pub struct ComponentSpecId(/* private fields */);Expand description
ComponentSpecId
App-scoped identity of one declared permitted Component topology.
Implementations§
Trait Implementations§
Source§impl AsRef<str> for ComponentSpecId
impl AsRef<str> for ComponentSpecId
Source§impl Borrow<str> for ComponentSpecId
impl Borrow<str> for ComponentSpecId
Source§impl CandidType for ComponentSpecId
impl CandidType for ComponentSpecId
Source§impl Clone for ComponentSpecId
impl Clone for ComponentSpecId
Source§fn clone(&self) -> ComponentSpecId
fn clone(&self) -> ComponentSpecId
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 ComponentSpecId
impl Debug for ComponentSpecId
Source§impl<'de> Deserialize<'de> for ComponentSpecId
impl<'de> Deserialize<'de> for ComponentSpecId
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 ComponentSpecId
impl Display for ComponentSpecId
impl Eq for ComponentSpecId
Source§impl FromStr for ComponentSpecId
impl FromStr for ComponentSpecId
Source§impl Hash for ComponentSpecId
impl Hash for ComponentSpecId
Source§impl Ord for ComponentSpecId
impl Ord for ComponentSpecId
Source§fn cmp(&self, other: &ComponentSpecId) -> Ordering
fn cmp(&self, other: &ComponentSpecId) -> Ordering
1.21.0 (const: unstable) · 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 ComponentSpecId
impl PartialEq for ComponentSpecId
Source§impl PartialOrd for ComponentSpecId
impl PartialOrd for ComponentSpecId
Source§impl Serialize for ComponentSpecId
impl Serialize for ComponentSpecId
Source§impl Storable for ComponentSpecId
impl Storable for ComponentSpecId
Source§fn to_bytes(&self) -> Cow<'_, [u8]>
fn to_bytes(&self) -> Cow<'_, [u8]>
Converts the element into a possibly borrowed byte slice. Read more
Source§fn from_bytes(bytes: Cow<'_, [u8]>) -> Self
fn from_bytes(bytes: Cow<'_, [u8]>) -> Self
Converts bytes into an element.
Source§fn to_bytes_checked(&self) -> Cow<'_, [u8]>
fn to_bytes_checked(&self) -> Cow<'_, [u8]>
Like
to_bytes, but checks that bytes conform to declared bounds.Source§fn into_bytes_checked(self) -> Vec<u8> ⓘwhere
Self: Sized,
fn into_bytes_checked(self) -> Vec<u8> ⓘwhere
Self: Sized,
Like
into_bytes, but checks that bytes conform to declared bounds.Source§fn check_bounds(bytes: &[u8])
fn check_bounds(bytes: &[u8])
Validates that a byte slice fits within this type’s declared bounds.
impl StructuralPartialEq for ComponentSpecId
Auto Trait Implementations§
impl Freeze for ComponentSpecId
impl RefUnwindSafe for ComponentSpecId
impl Send for ComponentSpecId
impl Sync for ComponentSpecId
impl Unpin for ComponentSpecId
impl UnsafeUnpin for ComponentSpecId
impl UnwindSafe for ComponentSpecId
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