Struct uploads_im_client::UploadOptionsBuilder [] [src]

pub struct UploadOptionsBuilder { /* fields omitted */ }

Builder for UploadOptions.

Methods

impl UploadOptionsBuilder
[src]

[src]

The domain hosting the Uploads.im service

[src]

An optional width to which an uploaded image should be resized to.

[src]

An optional width to which the thumbnail of an uploaded image should be resized to.

[src]

An optional flag to mark an uploaded image as "family unsafe", or in other words, adult content or NSFW.

[src]

Builds a new UploadOptions.

Errors

If a required field has not been initialized.

Trait Implementations

impl Default for UploadOptionsBuilder
[src]

[src]

Returns the "default value" for a type. Read more

impl Clone for UploadOptionsBuilder
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more