pub enum SessionTitleChange {
UserSet {
title: SessionTitle,
client_rename_id: ClientRenameId,
},
UserClear {
client_rename_id: ClientRenameId,
},
UserReset {
client_rename_id: ClientRenameId,
},
InternalAgentSet {
title: SessionTitle,
invocation_id: InternalAgentInvocationId,
},
DelegatedSet {
title: SessionTitle,
invocation_id: InvocationId,
},
FallbackSet {
title: SessionTitle,
},
}Variants§
UserSet
UserClear
Fields
§
client_rename_id: ClientRenameIdUserReset
Fields
§
client_rename_id: ClientRenameIdInternalAgentSet
DelegatedSet
FallbackSet
Fields
§
title: SessionTitleImplementations§
Source§impl SessionTitleChange
impl SessionTitleChange
pub fn user_rename_record(&self) -> Option<SessionRenameRecord>
Trait Implementations§
Source§impl Clone for SessionTitleChange
impl Clone for SessionTitleChange
Source§fn clone(&self) -> SessionTitleChange
fn clone(&self) -> SessionTitleChange
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 SessionTitleChange
impl Debug for SessionTitleChange
Source§impl<'de> Deserialize<'de> for SessionTitleChange
impl<'de> Deserialize<'de> for SessionTitleChange
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
impl Eq for SessionTitleChange
Source§impl JsonSchema for SessionTitleChange
impl JsonSchema for SessionTitleChange
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 SessionTitleChange
impl PartialEq for SessionTitleChange
Source§fn eq(&self, other: &SessionTitleChange) -> bool
fn eq(&self, other: &SessionTitleChange) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SessionTitleChange
impl Serialize for SessionTitleChange
impl StructuralPartialEq for SessionTitleChange
Auto Trait Implementations§
impl Freeze for SessionTitleChange
impl RefUnwindSafe for SessionTitleChange
impl Send for SessionTitleChange
impl Sync for SessionTitleChange
impl Unpin for SessionTitleChange
impl UnsafeUnpin for SessionTitleChange
impl UnwindSafe for SessionTitleChange
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