pub struct CollectionState {
pub by_id_root: Option<Cid>,
pub key_roots: BTreeMap<String, Option<Cid>>,
pub search_roots: BTreeMap<String, Option<Cid>>,
}Fields§
§by_id_root: Option<Cid>§key_roots: BTreeMap<String, Option<Cid>>§search_roots: BTreeMap<String, Option<Cid>>Implementations§
Trait Implementations§
Source§impl Clone for CollectionState
impl Clone for CollectionState
Source§fn clone(&self) -> CollectionState
fn clone(&self) -> CollectionState
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 CollectionState
impl Debug for CollectionState
Source§impl Default for CollectionState
impl Default for CollectionState
Source§fn default() -> CollectionState
fn default() -> CollectionState
Returns the “default value” for a type. Read more
Source§impl PartialEq for CollectionState
impl PartialEq for CollectionState
Source§fn eq(&self, other: &CollectionState) -> bool
fn eq(&self, other: &CollectionState) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CollectionState
Auto Trait Implementations§
impl Freeze for CollectionState
impl RefUnwindSafe for CollectionState
impl Send for CollectionState
impl Sync for CollectionState
impl Unpin for CollectionState
impl UnsafeUnpin for CollectionState
impl UnwindSafe for CollectionState
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