pub struct SavedOutput {
pub path: String,
pub size: usize,
}Available on crate feature
terminal only.Expand description
What a command saving bytes to a file prints.
Fields§
§path: StringThe file written.
size: usizeHow many bytes were written.
Trait Implementations§
Source§impl Clone for SavedOutput
impl Clone for SavedOutput
Source§impl Debug for SavedOutput
impl Debug for SavedOutput
Source§impl Display for SavedOutput
impl Display for SavedOutput
Source§impl JsonSchema for SavedOutput
impl JsonSchema for SavedOutput
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl Forget for SavedOutput
impl Freeze for SavedOutput
impl Move for SavedOutput
impl RefUnwindSafe for SavedOutput
impl Send for SavedOutput
impl Sync for SavedOutput
impl Unpin for SavedOutput
impl UnsafeUnpin for SavedOutput
impl UnwindSafe for SavedOutput
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