pub struct DataEntry { /* private fields */ }Available on crate features
experimental and IndexedDB and Runtime only.Expand description
Data entry.
Implementations§
Source§impl DataEntry
impl DataEntry
pub fn new( key: RemoteObject, primary_key: RemoteObject, value: RemoteObject, ) -> Self
Sourcepub fn key(&self) -> &RemoteObject
pub fn key(&self) -> &RemoteObject
Key object.
Sourcepub fn primary_key(&self) -> &RemoteObject
pub fn primary_key(&self) -> &RemoteObject
Primary key object.
Sourcepub fn value(&self) -> &RemoteObject
pub fn value(&self) -> &RemoteObject
Value object.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for DataEntry
impl<'de> Deserialize<'de> for DataEntry
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 DataEntry
impl RefUnwindSafe for DataEntry
impl Send for DataEntry
impl Sync for DataEntry
impl Unpin for DataEntry
impl UnwindSafe for DataEntry
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