pub struct CollectionRuntimeSetV1 { /* private fields */ }Expand description
One ordered collection runtime-set declaration.
Implementations§
Source§impl CollectionRuntimeSetV1
impl CollectionRuntimeSetV1
Sourcepub fn new(
id: CollectionLogicalIdV1,
kind: CollectionRuntimeSetKindV1,
members: Vec<CollectionLogicalIdV1>,
) -> Self
pub fn new( id: CollectionLogicalIdV1, kind: CollectionRuntimeSetKindV1, members: Vec<CollectionLogicalIdV1>, ) -> Self
Construct one ordered runtime-set declaration.
Sourcepub fn id(&self) -> &CollectionLogicalIdV1
pub fn id(&self) -> &CollectionLogicalIdV1
Durable runtime-set id.
Sourcepub const fn kind(&self) -> CollectionRuntimeSetKindV1
pub const fn kind(&self) -> CollectionRuntimeSetKindV1
Closed V1 membership kind.
Sourcepub fn members(&self) -> &[CollectionLogicalIdV1]
pub fn members(&self) -> &[CollectionLogicalIdV1]
Declared member order, retained without sorting.
Trait Implementations§
Source§impl Clone for CollectionRuntimeSetV1
impl Clone for CollectionRuntimeSetV1
Source§fn clone(&self) -> CollectionRuntimeSetV1
fn clone(&self) -> CollectionRuntimeSetV1
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 CollectionRuntimeSetV1
impl Debug for CollectionRuntimeSetV1
impl Eq for CollectionRuntimeSetV1
Source§impl PartialEq for CollectionRuntimeSetV1
impl PartialEq for CollectionRuntimeSetV1
Source§impl Serialize for CollectionRuntimeSetV1
impl Serialize for CollectionRuntimeSetV1
impl StructuralPartialEq for CollectionRuntimeSetV1
Auto Trait Implementations§
impl Freeze for CollectionRuntimeSetV1
impl RefUnwindSafe for CollectionRuntimeSetV1
impl Send for CollectionRuntimeSetV1
impl Sync for CollectionRuntimeSetV1
impl Unpin for CollectionRuntimeSetV1
impl UnsafeUnpin for CollectionRuntimeSetV1
impl UnwindSafe for CollectionRuntimeSetV1
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