pub struct DeliveryFile {
pub local_path: String,
pub remote_path: Option<String>,
}Expand description
One file of a multi-file deliver.
Fields§
§local_path: String§remote_path: Option<String>Trait Implementations§
Source§impl Clone for DeliveryFile
impl Clone for DeliveryFile
Source§impl Debug for DeliveryFile
impl Debug for DeliveryFile
Source§impl<'de> Deserialize<'de> for DeliveryFile
impl<'de> Deserialize<'de> for DeliveryFile
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
Source§impl JsonSchema for DeliveryFile
impl JsonSchema for DeliveryFile
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 moreSource§impl PartialEq for DeliveryFile
impl PartialEq for DeliveryFile
Source§impl Serialize for DeliveryFile
impl Serialize for DeliveryFile
impl StructuralPartialEq for DeliveryFile
Auto Trait Implementations§
impl Freeze for DeliveryFile
impl RefUnwindSafe for DeliveryFile
impl Send for DeliveryFile
impl Sync for DeliveryFile
impl Unpin for DeliveryFile
impl UnsafeUnpin for DeliveryFile
impl UnwindSafe for DeliveryFile
Blanket Implementations§
impl<T> Allocation for T
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