pub struct ContextInfo {
pub id: ContextId,
pub name: String,
pub created_at: DateTime<Utc>,
pub updated_at: DateTime<Utc>,
pub item_count: usize,
pub size_bytes: usize,
pub metadata: Metadata,
}Expand description
Full context information
Fields§
§id: ContextId§name: String§created_at: DateTime<Utc>§updated_at: DateTime<Utc>§item_count: usize§size_bytes: usize§metadata: MetadataTrait Implementations§
Source§impl Clone for ContextInfo
impl Clone for ContextInfo
Source§fn clone(&self) -> ContextInfo
fn clone(&self) -> ContextInfo
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 ContextInfo
impl Debug for ContextInfo
Source§impl<'de> Deserialize<'de> for ContextInfo
impl<'de> Deserialize<'de> for ContextInfo
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 From<ContextInfo> for ContextSummary
impl From<ContextInfo> for ContextSummary
Source§fn from(info: ContextInfo) -> Self
fn from(info: ContextInfo) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ContextInfo
impl RefUnwindSafe for ContextInfo
impl Send for ContextInfo
impl Sync for ContextInfo
impl Unpin for ContextInfo
impl UnsafeUnpin for ContextInfo
impl UnwindSafe for ContextInfo
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