pub struct ContextMetadata {
pub created_at: DateTime<Utc>,
pub updated_at: DateTime<Utc>,
pub created_by: Option<String>,
pub tags: Vec<String>,
pub version: u32,
}Expand description
Metadata about an execution context.
Fields§
§created_at: DateTime<Utc>When the context was created.
updated_at: DateTime<Utc>When the context was last modified.
created_by: Option<String>Who created this context (optional).
Tags for categorization.
version: u32Version number (incremented on each update).
Implementations§
Trait Implementations§
Source§impl Clone for ContextMetadata
impl Clone for ContextMetadata
Source§fn clone(&self) -> ContextMetadata
fn clone(&self) -> ContextMetadata
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 ContextMetadata
impl Debug for ContextMetadata
Source§impl Default for ContextMetadata
impl Default for ContextMetadata
Source§impl<'de> Deserialize<'de> for ContextMetadata
impl<'de> Deserialize<'de> for ContextMetadata
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 ContextMetadata
impl RefUnwindSafe for ContextMetadata
impl Send for ContextMetadata
impl Sync for ContextMetadata
impl Unpin for ContextMetadata
impl UnwindSafe for ContextMetadata
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