pub struct BasicMetadata {
pub execution_time_ms: Option<u64>,
pub size_bytes: Option<u64>,
pub category: Option<String>,
pub tags: Vec<String>,
}Expand description
Simple metadata implementation with common fields
Fields§
§execution_time_ms: Option<u64>Execution time in milliseconds
size_bytes: Option<u64>Size in bytes
category: Option<String>Category or type
Additional tags
Trait Implementations§
Source§impl Clone for BasicMetadata
impl Clone for BasicMetadata
Source§fn clone(&self) -> BasicMetadata
fn clone(&self) -> BasicMetadata
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 BasicMetadata
impl Debug for BasicMetadata
Source§impl Default for BasicMetadata
impl Default for BasicMetadata
Source§fn default() -> BasicMetadata
fn default() -> BasicMetadata
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BasicMetadata
impl<'de> Deserialize<'de> for BasicMetadata
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
Source§impl EntryMetadata for BasicMetadata
impl EntryMetadata for BasicMetadata
Auto Trait Implementations§
impl Freeze for BasicMetadata
impl RefUnwindSafe for BasicMetadata
impl Send for BasicMetadata
impl Sync for BasicMetadata
impl Unpin for BasicMetadata
impl UnsafeUnpin for BasicMetadata
impl UnwindSafe for BasicMetadata
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