pub struct CollectionLogicalIdV1(/* private fields */);Expand description
Opaque namespaced logical clip or runtime-set identifier.
Implementations§
Source§impl CollectionLogicalIdV1
impl CollectionLogicalIdV1
Sourcepub fn new(value: impl Into<String>) -> Result<Self, CollectionManifestError>
pub fn new(value: impl Into<String>) -> Result<Self, CollectionManifestError>
Construct one V1 logical identifier.
§Errors
Returns CollectionManifestError::InvalidIdentifier when value is
not a slash-separated V1 identifier with at least two tokens.
Trait Implementations§
Source§impl Clone for CollectionLogicalIdV1
impl Clone for CollectionLogicalIdV1
Source§fn clone(&self) -> CollectionLogicalIdV1
fn clone(&self) -> CollectionLogicalIdV1
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 CollectionLogicalIdV1
impl Debug for CollectionLogicalIdV1
impl Eq for CollectionLogicalIdV1
Source§impl Hash for CollectionLogicalIdV1
impl Hash for CollectionLogicalIdV1
Source§impl Ord for CollectionLogicalIdV1
impl Ord for CollectionLogicalIdV1
Source§fn cmp(&self, other: &CollectionLogicalIdV1) -> Ordering
fn cmp(&self, other: &CollectionLogicalIdV1) -> 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 CollectionLogicalIdV1
impl PartialEq for CollectionLogicalIdV1
Source§impl PartialOrd for CollectionLogicalIdV1
impl PartialOrd for CollectionLogicalIdV1
Source§impl Serialize for CollectionLogicalIdV1
impl Serialize for CollectionLogicalIdV1
impl StructuralPartialEq for CollectionLogicalIdV1
Auto Trait Implementations§
impl Freeze for CollectionLogicalIdV1
impl RefUnwindSafe for CollectionLogicalIdV1
impl Send for CollectionLogicalIdV1
impl Sync for CollectionLogicalIdV1
impl Unpin for CollectionLogicalIdV1
impl UnsafeUnpin for CollectionLogicalIdV1
impl UnwindSafe for CollectionLogicalIdV1
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