pub struct UpdateCatalogImageResponse {
pub image: CatalogObject,
pub errors: Option<Vec<Error>>,
}
Expand description
This is a model struct for UpdateCatalogImageResponse type.
Fields
image: CatalogObject
The newly updated CatalogImage
including a Square-generated URL for the encapsulated image
file.
errors: Option<Vec<Error>>
Any errors that occurred during the request.
Trait Implementations
sourceimpl Clone for UpdateCatalogImageResponse
impl Clone for UpdateCatalogImageResponse
sourcefn clone(&self) -> UpdateCatalogImageResponse
fn clone(&self) -> UpdateCatalogImageResponse
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 Debug for UpdateCatalogImageResponse
impl Debug for UpdateCatalogImageResponse
sourceimpl Default for UpdateCatalogImageResponse
impl Default for UpdateCatalogImageResponse
sourcefn default() -> UpdateCatalogImageResponse
fn default() -> UpdateCatalogImageResponse
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for UpdateCatalogImageResponse
impl<'de> Deserialize<'de> for UpdateCatalogImageResponse
sourcefn 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
sourceimpl PartialEq<UpdateCatalogImageResponse> for UpdateCatalogImageResponse
impl PartialEq<UpdateCatalogImageResponse> for UpdateCatalogImageResponse
sourcefn eq(&self, other: &UpdateCatalogImageResponse) -> bool
fn eq(&self, other: &UpdateCatalogImageResponse) -> bool
impl Eq for UpdateCatalogImageResponse
impl StructuralEq for UpdateCatalogImageResponse
impl StructuralPartialEq for UpdateCatalogImageResponse
Auto Trait Implementations
impl RefUnwindSafe for UpdateCatalogImageResponse
impl Send for UpdateCatalogImageResponse
impl Sync for UpdateCatalogImageResponse
impl Unpin for UpdateCatalogImageResponse
impl UnwindSafe for UpdateCatalogImageResponse
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
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.