pub struct UploadImageResponse {
pub status: ApiStatus,
pub url: Option<String>,
pub media: Option<Vec<MediaAsset>>,
pub reason: Option<String>,
pub code: Option<String>,
}Fields§
§status: ApiStatus§url: Option<String>§media: Option<Vec<MediaAsset>>§reason: Option<String>§code: Option<String>Implementations§
Source§impl UploadImageResponse
impl UploadImageResponse
pub fn new(status: ApiStatus) -> UploadImageResponse
Trait Implementations§
Source§impl Clone for UploadImageResponse
impl Clone for UploadImageResponse
Source§fn clone(&self) -> UploadImageResponse
fn clone(&self) -> UploadImageResponse
Returns a duplicate of the value. Read more
1.0.0 · 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 UploadImageResponse
impl Debug for UploadImageResponse
Source§impl Default for UploadImageResponse
impl Default for UploadImageResponse
Source§fn default() -> UploadImageResponse
fn default() -> UploadImageResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UploadImageResponse
impl<'de> Deserialize<'de> for UploadImageResponse
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for UploadImageResponse
impl PartialEq for UploadImageResponse
Source§impl Serialize for UploadImageResponse
impl Serialize for UploadImageResponse
impl StructuralPartialEq for UploadImageResponse
Auto Trait Implementations§
impl Freeze for UploadImageResponse
impl RefUnwindSafe for UploadImageResponse
impl Send for UploadImageResponse
impl Sync for UploadImageResponse
impl Unpin for UploadImageResponse
impl UnwindSafe for UploadImageResponse
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