pub struct SessionLifecycleEventMetadata {
pub start_time: String,
pub modified_time: String,
pub summary: Option<String>,
}Expand description
Optional metadata attached to a SessionLifecycleEvent.
Fields§
§start_time: StringISO-8601 timestamp the session was created.
modified_time: StringISO-8601 timestamp the session was last modified.
summary: Option<String>Optional generated summary of the session conversation so far.
Trait Implementations§
Source§impl Clone for SessionLifecycleEventMetadata
impl Clone for SessionLifecycleEventMetadata
Source§fn clone(&self) -> SessionLifecycleEventMetadata
fn clone(&self) -> SessionLifecycleEventMetadata
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<'de> Deserialize<'de> for SessionLifecycleEventMetadata
impl<'de> Deserialize<'de> for SessionLifecycleEventMetadata
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 PartialEq for SessionLifecycleEventMetadata
impl PartialEq for SessionLifecycleEventMetadata
Source§fn eq(&self, other: &SessionLifecycleEventMetadata) -> bool
fn eq(&self, other: &SessionLifecycleEventMetadata) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for SessionLifecycleEventMetadata
impl StructuralPartialEq for SessionLifecycleEventMetadata
Auto Trait Implementations§
impl Freeze for SessionLifecycleEventMetadata
impl RefUnwindSafe for SessionLifecycleEventMetadata
impl Send for SessionLifecycleEventMetadata
impl Sync for SessionLifecycleEventMetadata
impl Unpin for SessionLifecycleEventMetadata
impl UnsafeUnpin for SessionLifecycleEventMetadata
impl UnwindSafe for SessionLifecycleEventMetadata
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