pub struct SessionMeta {Show 18 fields
pub session_id: SessionId,
pub origin: SessionOrigin,
pub short_id: Option<String>,
pub cwd_identity: CwdIdentity,
pub creation_selection: RunSelection,
pub runtime_revision: RuntimeRevision,
pub catalog_revision: CatalogRevision,
pub provider_state_revision: ProviderStateRevision,
pub model_revision: ModelRevision,
pub agent_revision: AgentRevision,
pub recipe_registry_revision: RecipeRegistryRevision,
pub manifest_revision: ModelSnapshotRevision,
pub title: Option<SessionTitle>,
pub title_updated_seq: u64,
pub last_event_seq: u64,
pub last_activity: Timestamp,
pub status: SessionStatus,
pub skipped_events: Vec<SkippedEvent>,
}Fields§
§session_id: SessionId§origin: SessionOrigin§short_id: Option<String>Short, tree-unique model-facing handle, absent for pre-handle sessions.
cwd_identity: CwdIdentity§creation_selection: RunSelection§runtime_revision: RuntimeRevision§catalog_revision: CatalogRevision§provider_state_revision: ProviderStateRevision§model_revision: ModelRevision§agent_revision: AgentRevision§recipe_registry_revision: RecipeRegistryRevision§manifest_revision: ModelSnapshotRevision§title: Option<SessionTitle>§title_updated_seq: u64§last_event_seq: u64§last_activity: Timestamp§status: SessionStatus§skipped_events: Vec<SkippedEvent>Implementations§
Source§impl SessionMeta
impl SessionMeta
pub fn validate(&self) -> Result<(), EventSchemaError>
Trait Implementations§
Source§impl Clone for SessionMeta
impl Clone for SessionMeta
Source§fn clone(&self) -> SessionMeta
fn clone(&self) -> SessionMeta
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 Debug for SessionMeta
impl Debug for SessionMeta
Source§impl<'de> Deserialize<'de> for SessionMeta
impl<'de> Deserialize<'de> for SessionMeta
Source§fn deserialize<D>(d: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(d: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl JsonSchema for SessionMeta
impl JsonSchema for SessionMeta
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for SessionMeta
impl PartialEq for SessionMeta
Source§fn eq(&self, other: &SessionMeta) -> bool
fn eq(&self, other: &SessionMeta) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SessionMeta
impl Serialize for SessionMeta
impl StructuralPartialEq for SessionMeta
Auto Trait Implementations§
impl Freeze for SessionMeta
impl RefUnwindSafe for SessionMeta
impl Send for SessionMeta
impl Sync for SessionMeta
impl Unpin for SessionMeta
impl UnsafeUnpin for SessionMeta
impl UnwindSafe for SessionMeta
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