pub struct ContainerOutput {
pub status: OutputStatus,
pub result: Option<String>,
pub new_session_id: Option<String>,
pub error: Option<String>,
pub usage: Option<SessionUsage>,
}Expand description
One result block emitted by the container between the output markers.
Fields§
§status: OutputStatus§result: Option<String>§new_session_id: Option<String>§error: Option<String>§usage: Option<SessionUsage>Implementations§
Trait Implementations§
Source§impl Clone for ContainerOutput
impl Clone for ContainerOutput
Source§impl Debug for ContainerOutput
impl Debug for ContainerOutput
Source§impl<'de> Deserialize<'de> for ContainerOutput
impl<'de> Deserialize<'de> for ContainerOutput
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 ContainerOutput
impl PartialEq for ContainerOutput
Source§impl Serialize for ContainerOutput
impl Serialize for ContainerOutput
impl StructuralPartialEq for ContainerOutput
Auto Trait Implementations§
impl Freeze for ContainerOutput
impl RefUnwindSafe for ContainerOutput
impl Send for ContainerOutput
impl Sync for ContainerOutput
impl Unpin for ContainerOutput
impl UnsafeUnpin for ContainerOutput
impl UnwindSafe for ContainerOutput
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