pub struct GetConsoleOutputResult {
pub output: String,
pub truncated: bool,
}Fields§
§output: StringThe transcript as plain text, newlines included. Empty when the instance has not booted yet.
truncated: boolTrue when the transcript was longer than the requested size and its BEGINNING was dropped to fit. The end is always kept.
Trait Implementations§
Source§impl Clone for GetConsoleOutputResult
impl Clone for GetConsoleOutputResult
Source§impl Debug for GetConsoleOutputResult
impl Debug for GetConsoleOutputResult
Source§impl<'de> Deserialize<'de> for GetConsoleOutputResult
impl<'de> Deserialize<'de> for GetConsoleOutputResult
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 GetConsoleOutputResult
impl RefUnwindSafe for GetConsoleOutputResult
impl Send for GetConsoleOutputResult
impl Sync for GetConsoleOutputResult
impl Unpin for GetConsoleOutputResult
impl UnsafeUnpin for GetConsoleOutputResult
impl UnwindSafe for GetConsoleOutputResult
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