pub struct ResumeSessionResponse {
pub modes: Option<SessionModeState>,
pub config_options: Option<Vec<SessionConfigOption>>,
}Expand description
session/resume response.
Fields§
§modes: Option<SessionModeState>The mode state the agent advertises after resuming. Absent when the agent does not support session modes.
config_options: Option<Vec<SessionConfigOption>>Initial session configuration options.
Trait Implementations§
Source§impl Clone for ResumeSessionResponse
impl Clone for ResumeSessionResponse
Source§impl Debug for ResumeSessionResponse
impl Debug for ResumeSessionResponse
Source§impl<'de> Deserialize<'de> for ResumeSessionResponse
impl<'de> Deserialize<'de> for ResumeSessionResponse
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 ResumeSessionResponse
Source§impl PartialEq for ResumeSessionResponse
impl PartialEq for ResumeSessionResponse
Source§impl Serialize for ResumeSessionResponse
impl Serialize for ResumeSessionResponse
impl StructuralPartialEq for ResumeSessionResponse
Auto Trait Implementations§
impl Freeze for ResumeSessionResponse
impl RefUnwindSafe for ResumeSessionResponse
impl Send for ResumeSessionResponse
impl Sync for ResumeSessionResponse
impl Unpin for ResumeSessionResponse
impl UnsafeUnpin for ResumeSessionResponse
impl UnwindSafe for ResumeSessionResponse
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