[−][src]Struct ucare::upload::FileParams
Holds all possible params for the file upload
Fields
path: StringPath of the file to upload.
It must be smaller than 100MB. An attempt of reading a larger file raises a 413 error with the respective description. If you want to upload larger files, please use multipart upload API methods.
name: StringUploaded file name
to_store: Option<ToStore>File storing behaviour.
Auto Trait Implementations
impl RefUnwindSafe for FileParams
impl Send for FileParams
impl Sync for FileParams
impl Unpin for FileParams
impl UnwindSafe for FileParams
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,