[−][src]Struct ucare::upload::FromUrlParams
Parameters for upload from public URL link
Fields
source_url: StringFile URL, which should be a public HTTP or HTTPS link
to_store: Option<ToStore>File storing behaviour.
filename: Option<String>The name for a file uploaded from URL. If not defined, the filename is obtained from either response headers or a source URL
check_url_duplicates: Option<UrlDuplicates>Specify to run the duplicate check and provide the immediate-download behavior
save_url_duplicates: Option<UrlDuplicates>Specify to run The save/update URL behavior. The parameter can be used if you believe a
source_url will be used more than once. If you don’t explicitly defined, it is by
default set to the value of check_url_duplicates.
Auto Trait Implementations
impl RefUnwindSafe for FromUrlParams
impl Send for FromUrlParams
impl Sync for FromUrlParams
impl Unpin for FromUrlParams
impl UnwindSafe for FromUrlParams
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>,