pub struct SessionStart {
pub client_name: String,
}Expand description
Open a session.
Fields§
§client_name: StringFree-form client identifier, for example "claude-code". Shown in diagnostics.
Trait Implementations§
Source§impl Clone for SessionStart
impl Clone for SessionStart
Source§fn clone(&self) -> SessionStart
fn clone(&self) -> SessionStart
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 SessionStart
impl Debug for SessionStart
Source§impl<'de> Deserialize<'de> for SessionStart
impl<'de> Deserialize<'de> for SessionStart
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 SessionStart
impl PartialEq for SessionStart
Source§impl Serialize for SessionStart
impl Serialize for SessionStart
impl StructuralPartialEq for SessionStart
Source§impl Validate for SessionStart
impl Validate for SessionStart
Auto Trait Implementations§
impl Freeze for SessionStart
impl RefUnwindSafe for SessionStart
impl Send for SessionStart
impl Sync for SessionStart
impl Unpin for SessionStart
impl UnsafeUnpin for SessionStart
impl UnwindSafe for SessionStart
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