pub struct RequestDatabaseReturn { /* private fields */ }Available on crate features
experimental and IndexedDB and Runtime only.Expand description
Requests database with given name in given frame.
Implementations§
Source§impl RequestDatabaseReturn
impl RequestDatabaseReturn
pub fn new(database_with_object_stores: DatabaseWithObjectStores) -> Self
Sourcepub fn database_with_object_stores(&self) -> &DatabaseWithObjectStores
pub fn database_with_object_stores(&self) -> &DatabaseWithObjectStores
Database with an array of object stores.
Methods from Deref<Target = DatabaseWithObjectStores>§
Sourcepub fn version(&self) -> f64
pub fn version(&self) -> f64
Database version (type is not ‘integer’, as the standard requires the version number to be ‘unsigned long long’)
Sourcepub fn object_stores(&self) -> &[ObjectStore]
pub fn object_stores(&self) -> &[ObjectStore]
Object stores in this database.
Trait Implementations§
Source§impl Clone for RequestDatabaseReturn
impl Clone for RequestDatabaseReturn
Source§fn clone(&self) -> RequestDatabaseReturn
fn clone(&self) -> RequestDatabaseReturn
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 RequestDatabaseReturn
impl Debug for RequestDatabaseReturn
Source§impl Deref for RequestDatabaseReturn
impl Deref for RequestDatabaseReturn
Source§impl<'de> Deserialize<'de> for RequestDatabaseReturn
impl<'de> Deserialize<'de> for RequestDatabaseReturn
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 RequestDatabaseReturn
impl RefUnwindSafe for RequestDatabaseReturn
impl Send for RequestDatabaseReturn
impl Sync for RequestDatabaseReturn
impl Unpin for RequestDatabaseReturn
impl UnwindSafe for RequestDatabaseReturn
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