pub struct FormattedOutput {
pub format: OutputFormat,
pub content: String,
}Expand description
格式化输出结果
Fields§
§format: OutputFormat输出格式
content: String内容
Implementations§
Trait Implementations§
Source§impl Clone for FormattedOutput
impl Clone for FormattedOutput
Source§fn clone(&self) -> FormattedOutput
fn clone(&self) -> FormattedOutput
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 moreAuto 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