pub struct StoredValue {
pub record_name: String,
pub value: Value,
pub stored_at: u64,
}Expand description
A stored value returned by PersistenceBackend::query.
Fields§
§record_name: StringThe record name this value belongs to (e.g. "accuracy::vienna").
value: ValueThe JSON-serialized value.
stored_at: u64Unix timestamp in milliseconds when the value was persisted.
Trait Implementations§
Source§impl Clone for StoredValue
impl Clone for StoredValue
Source§fn clone(&self) -> StoredValue
fn clone(&self) -> StoredValue
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 moreAuto Trait Implementations§
impl Freeze for StoredValue
impl RefUnwindSafe for StoredValue
impl Send for StoredValue
impl Sync for StoredValue
impl Unpin for StoredValue
impl UnsafeUnpin for StoredValue
impl UnwindSafe for StoredValue
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