pub struct AcpSessionStateResponse {
pub session_id: String,
pub agent_type: String,
pub process_id: String,
pub pid: Option<u32>,
pub closed: bool,
pub exit_code: Option<i32>,
pub modes: Option<JsonUtf8>,
pub config_options: Vec<JsonUtf8>,
pub agent_capabilities: Option<JsonUtf8>,
pub agent_info: Option<JsonUtf8>,
}Fields§
§session_id: String§agent_type: String§process_id: String§pid: Option<u32>§closed: bool§exit_code: Option<i32>§modes: Option<JsonUtf8>§config_options: Vec<JsonUtf8>§agent_capabilities: Option<JsonUtf8>§agent_info: Option<JsonUtf8>Trait Implementations§
Source§impl Clone for AcpSessionStateResponse
impl Clone for AcpSessionStateResponse
Source§fn clone(&self) -> AcpSessionStateResponse
fn clone(&self) -> AcpSessionStateResponse
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 AcpSessionStateResponse
impl Debug for AcpSessionStateResponse
Source§impl<'de> Deserialize<'de> for AcpSessionStateResponse
impl<'de> Deserialize<'de> for AcpSessionStateResponse
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 AcpSessionStateResponse
Source§impl Hash for AcpSessionStateResponse
impl Hash for AcpSessionStateResponse
Source§impl PartialEq for AcpSessionStateResponse
impl PartialEq for AcpSessionStateResponse
Source§fn eq(&self, other: &AcpSessionStateResponse) -> bool
fn eq(&self, other: &AcpSessionStateResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AcpSessionStateResponse
impl Serialize for AcpSessionStateResponse
impl StructuralPartialEq for AcpSessionStateResponse
Auto Trait Implementations§
impl Freeze for AcpSessionStateResponse
impl RefUnwindSafe for AcpSessionStateResponse
impl Send for AcpSessionStateResponse
impl Sync for AcpSessionStateResponse
impl Unpin for AcpSessionStateResponse
impl UnsafeUnpin for AcpSessionStateResponse
impl UnwindSafe for AcpSessionStateResponse
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