pub struct Store { /* private fields */ }Expand description
Store
Schema node describing a stable IC BTreeMap pair that stores:
- primary entity data
- all index data for that entity
Implementations§
Source§impl Store
impl Store
pub const fn new( def: Def, ident: &'static str, canister: &'static str, data_memory_id: u8, index_memory_id: u8, ) -> Self
pub const fn def(&self) -> &Def
pub const fn ident(&self) -> &'static str
pub const fn canister(&self) -> &'static str
pub const fn data_memory_id(&self) -> u8
pub const fn index_memory_id(&self) -> u8
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Store
impl RefUnwindSafe for Store
impl Send for Store
impl Sync for Store
impl Unpin for Store
impl UnsafeUnpin for Store
impl UnwindSafe for Store
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