pub struct ImageUpload {
pub name: String,
pub mime: Option<String>,
pub data: String,
}Fields§
§name: String§mime: Option<String>§data: StringImplementations§
Source§impl ImageUpload
impl ImageUpload
Trait Implementations§
Source§impl Clone for ImageUpload
impl Clone for ImageUpload
Source§fn clone(&self) -> ImageUpload
fn clone(&self) -> ImageUpload
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ImageUpload
impl Debug for ImageUpload
Source§impl From<DropFileItem> for ImageUpload
impl From<DropFileItem> for ImageUpload
Source§fn from(item: DropFileItem) -> Self
fn from(item: DropFileItem) -> Self
Converts to this type from the input type.
Source§impl JsJsonDeserialize for ImageUpload
impl JsJsonDeserialize for ImageUpload
fn from_json( context: JsJsonContext, json: JsJson, ) -> Result<Self, JsJsonContext>
Source§impl JsJsonSerialize for ImageUpload
impl JsJsonSerialize for ImageUpload
Source§impl PartialEq for ImageUpload
impl PartialEq for ImageUpload
Source§fn eq(&self, other: &ImageUpload) -> bool
fn eq(&self, other: &ImageUpload) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ImageUpload
Auto Trait Implementations§
impl Freeze for ImageUpload
impl RefUnwindSafe for ImageUpload
impl Send for ImageUpload
impl Sync for ImageUpload
impl Unpin for ImageUpload
impl UnsafeUnpin for ImageUpload
impl UnwindSafe for ImageUpload
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more