#[non_exhaustive]pub struct PrepareIdentityAvatarUploadInput {
pub path: Option<String>,
pub mime: Option<String>,
pub content_length: Option<i64>,
}
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.path: Option<String>
The path/filename of the identity avatar.
mime: Option<String>
The MIME type of the identity avatar.
content_length: Option<i64>
Unsigned 64 bit integer.
Implementations
sourceimpl PrepareIdentityAvatarUploadInput
impl PrepareIdentityAvatarUploadInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<PrepareIdentityAvatarUpload, ()>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<PrepareIdentityAvatarUpload, ()>, BuildError>
Consumes the builder and constructs an Operation<PrepareIdentityAvatarUpload
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture PrepareIdentityAvatarUploadInput
Trait Implementations
sourceimpl Clone for PrepareIdentityAvatarUploadInput
impl Clone for PrepareIdentityAvatarUploadInput
sourcefn clone(&self) -> PrepareIdentityAvatarUploadInput
fn clone(&self) -> PrepareIdentityAvatarUploadInput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl PartialEq<PrepareIdentityAvatarUploadInput> for PrepareIdentityAvatarUploadInput
impl PartialEq<PrepareIdentityAvatarUploadInput> for PrepareIdentityAvatarUploadInput
sourcefn eq(&self, other: &PrepareIdentityAvatarUploadInput) -> bool
fn eq(&self, other: &PrepareIdentityAvatarUploadInput) -> bool
impl StructuralPartialEq for PrepareIdentityAvatarUploadInput
Auto Trait Implementations
impl RefUnwindSafe for PrepareIdentityAvatarUploadInput
impl Send for PrepareIdentityAvatarUploadInput
impl Sync for PrepareIdentityAvatarUploadInput
impl Unpin for PrepareIdentityAvatarUploadInput
impl UnwindSafe for PrepareIdentityAvatarUploadInput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more