pub struct TransferReport {
pub target: String,
pub files: Vec<String>,
pub delivered_as: Option<String>,
pub timeout_seconds: u64,
pub printed: Option<String>,
}Expand description
The answer to a call that sent files somewhere.
Fields§
§target: StringThe node the files went to, as the client was asked for it.
files: Vec<String>The paths that were sent.
delivered_as: Option<String>The name they were delivered under, when it was not the name on disk.
timeout_seconds: u64How long the call was prepared to wait, after bounding.
printed: Option<String>Anything the client said while transferring.
Trait Implementations§
Source§impl Debug for TransferReport
impl Debug for TransferReport
Source§impl JsonSchema for TransferReport
impl JsonSchema for TransferReport
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 Freeze for TransferReport
impl RefUnwindSafe for TransferReport
impl Send for TransferReport
impl Sync for TransferReport
impl Unpin for TransferReport
impl UnsafeUnpin for TransferReport
impl UnwindSafe for TransferReport
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