pub struct DbMetadata {
pub etag: String,
pub version: String,
pub updated_at: i64,
pub app_count: u64,
pub command_count: u64,
}Expand description
Metadata about the local offline database.
Fields§
§etag: StringETag for cache validation
version: StringDatabase version string
updated_at: i64Last update timestamp (Unix seconds)
app_count: u64Total number of indexed apps
command_count: u64Total number of indexed commands
Trait Implementations§
Source§impl Clone for DbMetadata
impl Clone for DbMetadata
Source§fn clone(&self) -> DbMetadata
fn clone(&self) -> DbMetadata
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DbMetadata
impl Debug for DbMetadata
Source§impl<'de> Deserialize<'de> for DbMetadata
impl<'de> Deserialize<'de> for DbMetadata
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 DbMetadata
impl RefUnwindSafe for DbMetadata
impl Send for DbMetadata
impl Sync for DbMetadata
impl Unpin for DbMetadata
impl UnsafeUnpin for DbMetadata
impl UnwindSafe for DbMetadata
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