pub struct GetMetadataReturn { /* private fields */ }Available on crate features
experimental and IndexedDB and Runtime only.Expand description
Gets metadata of an object store
Implementations§
Source§impl GetMetadataReturn
impl GetMetadataReturn
pub fn new(entries_count: f64, key_generator_value: f64) -> Self
Sourcepub fn entries_count(&self) -> f64
pub fn entries_count(&self) -> f64
the entries count
Sourcepub fn key_generator_value(&self) -> f64
pub fn key_generator_value(&self) -> f64
the current value of key generator, to become the next inserted key into the object store. Valid if objectStore.autoIncrement is true.
Trait Implementations§
Source§impl Clone for GetMetadataReturn
impl Clone for GetMetadataReturn
Source§fn clone(&self) -> GetMetadataReturn
fn clone(&self) -> GetMetadataReturn
Returns a duplicate of the value. Read more
1.0.0 · 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 GetMetadataReturn
impl Debug for GetMetadataReturn
Source§impl<'de> Deserialize<'de> for GetMetadataReturn
impl<'de> Deserialize<'de> for GetMetadataReturn
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
Auto Trait Implementations§
impl Freeze for GetMetadataReturn
impl RefUnwindSafe for GetMetadataReturn
impl Send for GetMetadataReturn
impl Sync for GetMetadataReturn
impl Unpin for GetMetadataReturn
impl UnwindSafe for GetMetadataReturn
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