pub struct TreeSpecId(/* private fields */);Expand description
TreeSpecId
App-scoped identity of one declared permitted Tree topology.
Implementations§
Trait Implementations§
Source§impl AsRef<str> for TreeSpecId
impl AsRef<str> for TreeSpecId
Source§impl Borrow<str> for TreeSpecId
impl Borrow<str> for TreeSpecId
Source§impl CandidType for TreeSpecId
impl CandidType for TreeSpecId
Source§impl Clone for TreeSpecId
impl Clone for TreeSpecId
Source§fn clone(&self) -> TreeSpecId
fn clone(&self) -> TreeSpecId
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 TreeSpecId
impl Debug for TreeSpecId
Source§impl<'de> Deserialize<'de> for TreeSpecId
impl<'de> Deserialize<'de> for TreeSpecId
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 TreeSpecId
impl Display for TreeSpecId
impl Eq for TreeSpecId
Source§impl FromStr for TreeSpecId
impl FromStr for TreeSpecId
Source§impl Hash for TreeSpecId
impl Hash for TreeSpecId
Source§impl Ord for TreeSpecId
impl Ord for TreeSpecId
Source§fn cmp(&self, other: &TreeSpecId) -> Ordering
fn cmp(&self, other: &TreeSpecId) -> 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 TreeSpecId
impl PartialEq for TreeSpecId
Source§impl PartialOrd for TreeSpecId
impl PartialOrd for TreeSpecId
Source§impl Serialize for TreeSpecId
impl Serialize for TreeSpecId
Source§impl Storable for TreeSpecId
impl Storable for TreeSpecId
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 TreeSpecId
Auto Trait Implementations§
impl Freeze for TreeSpecId
impl RefUnwindSafe for TreeSpecId
impl Send for TreeSpecId
impl Sync for TreeSpecId
impl Unpin for TreeSpecId
impl UnsafeUnpin for TreeSpecId
impl UnwindSafe for TreeSpecId
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