pub struct SessionSetModelParams {
pub session_id: String,
pub command_id: String,
pub model: ModelSelection,
}Expand description
session/setModel params: the model-picker gesture. The selection is
durable and applies to subsequent model calls.
Fields§
§session_id: StringThe target session.
command_id: StringThe idempotency handle (UUIDv7).
model: ModelSelectionThe selection.
Trait Implementations§
Source§impl Clone for SessionSetModelParams
impl Clone for SessionSetModelParams
Source§impl Debug for SessionSetModelParams
impl Debug for SessionSetModelParams
Source§impl<'de> Deserialize<'de> for SessionSetModelParams
impl<'de> Deserialize<'de> for SessionSetModelParams
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 SessionSetModelParams
Source§impl PartialEq for SessionSetModelParams
impl PartialEq for SessionSetModelParams
Source§impl Serialize for SessionSetModelParams
impl Serialize for SessionSetModelParams
impl StructuralPartialEq for SessionSetModelParams
Auto Trait Implementations§
impl Forget for SessionSetModelParams
impl Freeze for SessionSetModelParams
impl Move for SessionSetModelParams
impl RefUnwindSafe for SessionSetModelParams
impl Send for SessionSetModelParams
impl Sync for SessionSetModelParams
impl Unpin for SessionSetModelParams
impl UnsafeUnpin for SessionSetModelParams
impl UnwindSafe for SessionSetModelParams
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