pub struct DumpMetadata {
pub version: String,
pub mode: DatabaseMode,
pub format: DumpFormat,
pub node_count: usize,
pub edge_count: usize,
pub created_at: String,
pub extra: HashMap<String, String>,
}Expand description
Metadata for dump files.
Fields§
§version: StringGrafeo version that created the dump.
mode: DatabaseModeDatabase mode.
format: DumpFormatDump format.
node_count: usizeNumber of nodes.
edge_count: usizeNumber of edges.
created_at: StringTimestamp (ISO 8601).
extra: HashMap<String, String>Additional metadata.
Trait Implementations§
Source§impl Clone for DumpMetadata
impl Clone for DumpMetadata
Source§fn clone(&self) -> DumpMetadata
fn clone(&self) -> DumpMetadata
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 DumpMetadata
impl Debug for DumpMetadata
Source§impl<'de> Deserialize<'de> for DumpMetadata
impl<'de> Deserialize<'de> for DumpMetadata
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 DumpMetadata
impl RefUnwindSafe for DumpMetadata
impl Send for DumpMetadata
impl Sync for DumpMetadata
impl Unpin for DumpMetadata
impl UnwindSafe for DumpMetadata
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