pub struct FormattedOutput {
pub rendered: String,
pub formatter: String,
pub truncated: bool,
pub char_count: usize,
}Expand description
A formatted output value with metadata about how it was produced.
Fields§
§rendered: StringThe rendered string.
formatter: StringThe name of the formatter that produced it.
truncated: boolWhether the output was truncated.
char_count: usizeCharacter count.
Implementations§
Auto Trait Implementations§
impl Freeze for FormattedOutput
impl RefUnwindSafe for FormattedOutput
impl Send for FormattedOutput
impl Sync for FormattedOutput
impl Unpin for FormattedOutput
impl UnsafeUnpin for FormattedOutput
impl UnwindSafe for FormattedOutput
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