pub struct FileGetParams {
pub directory: String,
pub conflict: Conflict,
pub verbose: Option<bool>,
}Fields§
§directory: StringThe directory on the local filesystem to move the waiting files into. It has to exist already.
conflict: ConflictWhat to do about a name that is already taken there. Defaults to leaving the conflicting file in the inbox.
verbose: Option<bool>Report each file as it is moved.
Trait Implementations§
Source§impl Debug for FileGetParams
impl Debug for FileGetParams
Source§impl Default for FileGetParams
impl Default for FileGetParams
Source§impl<'de> Deserialize<'de> for FileGetParams
impl<'de> Deserialize<'de> for FileGetParams
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 FileGetParams
impl JsonSchema for FileGetParams
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 FileGetParams
impl RefUnwindSafe for FileGetParams
impl Send for FileGetParams
impl Sync for FileGetParams
impl Unpin for FileGetParams
impl UnsafeUnpin for FileGetParams
impl UnwindSafe for FileGetParams
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