pub struct NativeSessionCatalogEntry {
pub selection_id: String,
pub title: Option<String>,
pub modified_at_unix_ms: Option<u64>,
pub model: Option<String>,
pub message_count: u64,
pub completed_turn_count: Option<u64>,
pub external_group: Option<NativeSessionExternalGroup>,
pub record_id: Option<SessionRecordId>,
}Fields§
§selection_id: String§title: Option<String>§modified_at_unix_ms: Option<u64>§model: Option<String>§message_count: u64§completed_turn_count: Option<u64>§external_group: Option<NativeSessionExternalGroup>§record_id: Option<SessionRecordId>Implementations§
Source§impl NativeSessionCatalogEntry
impl NativeSessionCatalogEntry
pub fn validate(&self) -> Result<(), HistoryValidationError>
pub fn validate_for_route( &self, route: &NativeSessionCatalogRoute, ) -> Result<(), &'static str>
Trait Implementations§
Source§impl Clone for NativeSessionCatalogEntry
impl Clone for NativeSessionCatalogEntry
Source§fn clone(&self) -> NativeSessionCatalogEntry
fn clone(&self) -> NativeSessionCatalogEntry
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 NativeSessionCatalogEntry
impl Debug for NativeSessionCatalogEntry
Source§impl<'de> Deserialize<'de> for NativeSessionCatalogEntry
impl<'de> Deserialize<'de> for NativeSessionCatalogEntry
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<NativeSessionCatalogEntry, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<NativeSessionCatalogEntry, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for NativeSessionCatalogEntry
Source§impl Serialize for NativeSessionCatalogEntry
impl Serialize for NativeSessionCatalogEntry
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for NativeSessionCatalogEntry
Auto Trait Implementations§
impl Freeze for NativeSessionCatalogEntry
impl RefUnwindSafe for NativeSessionCatalogEntry
impl Send for NativeSessionCatalogEntry
impl Sync for NativeSessionCatalogEntry
impl Unpin for NativeSessionCatalogEntry
impl UnsafeUnpin for NativeSessionCatalogEntry
impl UnwindSafe for NativeSessionCatalogEntry
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