[][src]Struct misskey_api::endpoint::drive::files::upload_from_url::RequestBuilder

#[must_use]pub struct RequestBuilder<TypedBuilderFields> { /* fields omitted */ }

Builder for Request instances.

See Request::builder() for more info.

Implementations

impl<__folder_id, __is_sensitive, __force, __comment, __marker> RequestBuilder<((), __folder_id, __is_sensitive, __force, __comment, __marker)>[src]

pub fn url(
    self,
    url: Url
) -> RequestBuilder<((Url,), __folder_id, __is_sensitive, __force, __comment, __marker)>
[src]

impl<__url, __is_sensitive, __force, __comment, __marker> RequestBuilder<(__url, (), __is_sensitive, __force, __comment, __marker)>[src]

pub fn folder_id(
    self,
    folder_id: Id<DriveFolder>
) -> RequestBuilder<(__url, (Option<Id<DriveFolder>>,), __is_sensitive, __force, __comment, __marker)>
[src]

impl<__url, __folder_id, __force, __comment, __marker> RequestBuilder<(__url, __folder_id, (), __force, __comment, __marker)>[src]

pub fn is_sensitive(
    self,
    is_sensitive: bool
) -> RequestBuilder<(__url, __folder_id, (Option<bool>,), __force, __comment, __marker)>
[src]

impl<__url, __folder_id, __is_sensitive, __comment, __marker> RequestBuilder<(__url, __folder_id, __is_sensitive, (), __comment, __marker)>[src]

pub fn force(
    self,
    force: bool
) -> RequestBuilder<(__url, __folder_id, __is_sensitive, (Option<bool>,), __comment, __marker)>
[src]

impl<__url, __folder_id, __is_sensitive, __force, __marker> RequestBuilder<(__url, __folder_id, __is_sensitive, __force, (), __marker)>[src]

pub fn comment(
    self,
    comment: String
) -> RequestBuilder<(__url, __folder_id, __is_sensitive, __force, (Option<String>,), __marker)>
[src]

impl<__url, __folder_id, __is_sensitive, __force, __comment> RequestBuilder<(__url, __folder_id, __is_sensitive, __force, __comment, ())>[src]

pub fn marker(
    self,
    marker: String
) -> RequestBuilder<(__url, __folder_id, __is_sensitive, __force, __comment, (Option<String>,))>
[src]

impl<__folder_id: RequestBuilder_Optional<Option<Id<DriveFolder>>>, __is_sensitive: RequestBuilder_Optional<Option<bool>>, __force: RequestBuilder_Optional<Option<bool>>, __comment: RequestBuilder_Optional<Option<String>>, __marker: RequestBuilder_Optional<Option<String>>> RequestBuilder<((Url,), __folder_id, __is_sensitive, __force, __comment, __marker)>[src]

pub fn build(self) -> Request[src]

Finalise the builder and create its Request instance

Auto Trait Implementations

impl<TypedBuilderFields> RefUnwindSafe for RequestBuilder<TypedBuilderFields> where
    TypedBuilderFields: RefUnwindSafe
[src]

impl<TypedBuilderFields> Send for RequestBuilder<TypedBuilderFields> where
    TypedBuilderFields: Send
[src]

impl<TypedBuilderFields> Sync for RequestBuilder<TypedBuilderFields> where
    TypedBuilderFields: Sync
[src]

impl<TypedBuilderFields> Unpin for RequestBuilder<TypedBuilderFields> where
    TypedBuilderFields: Unpin
[src]

impl<TypedBuilderFields> UnwindSafe for RequestBuilder<TypedBuilderFields> where
    TypedBuilderFields: UnwindSafe
[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.