pub struct SessionSetCredentialsParams {
pub credentials: Option<Value>,
}Expand description
New auth credentials to install on the session. Omit to leave credentials unchanged.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§credentials: Option<Value>The new auth credentials to install on the session. When omitted or undefined, the call is a no-op and the session’s existing credentials are preserved. The runtime stores the value verbatim and uses it for outbound model/API requests; it does NOT re-validate or re-fetch the associated Copilot user response. Several variants carry secret material; treat this method’s params as containing secrets at rest and in transit.
Trait Implementations§
Source§impl Clone for SessionSetCredentialsParams
impl Clone for SessionSetCredentialsParams
Source§fn clone(&self) -> SessionSetCredentialsParams
fn clone(&self) -> SessionSetCredentialsParams
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 SessionSetCredentialsParams
impl Debug for SessionSetCredentialsParams
Source§impl Default for SessionSetCredentialsParams
impl Default for SessionSetCredentialsParams
Source§fn default() -> SessionSetCredentialsParams
fn default() -> SessionSetCredentialsParams
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SessionSetCredentialsParams
impl<'de> Deserialize<'de> for SessionSetCredentialsParams
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
Auto Trait Implementations§
impl Freeze for SessionSetCredentialsParams
impl RefUnwindSafe for SessionSetCredentialsParams
impl Send for SessionSetCredentialsParams
impl Sync for SessionSetCredentialsParams
impl Unpin for SessionSetCredentialsParams
impl UnsafeUnpin for SessionSetCredentialsParams
impl UnwindSafe for SessionSetCredentialsParams
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