pub struct HookStreamOutput {
pub content: String,
pub truncated: bool,
}Expand description
Captured hook stream output with truncation metadata.
Fields§
§content: StringCaptured UTF-8 output text.
truncated: boolWhether the captured output was truncated.
Trait Implementations§
Source§impl Clone for HookStreamOutput
impl Clone for HookStreamOutput
Source§fn clone(&self) -> HookStreamOutput
fn clone(&self) -> HookStreamOutput
Returns a duplicate of the value. Read more
1.0.0 · 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 HookStreamOutput
impl Debug for HookStreamOutput
Source§impl Default for HookStreamOutput
impl Default for HookStreamOutput
Source§fn default() -> HookStreamOutput
fn default() -> HookStreamOutput
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for HookStreamOutput
impl<'de> Deserialize<'de> for HookStreamOutput
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 HookStreamOutput
impl RefUnwindSafe for HookStreamOutput
impl Send for HookStreamOutput
impl Sync for HookStreamOutput
impl Unpin for HookStreamOutput
impl UnsafeUnpin for HookStreamOutput
impl UnwindSafe for HookStreamOutput
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