Struct square_api_client::models::CatalogCategory
source · [−]Expand description
A category to which a CatalogItem
instance belongs.
Fields
name: Option<String>
The category name. This is a searchable attribute for use in applicable query filters, and its value length is of Unicode code points.
image_ids: Option<Vec<String>>
The IDs of images associated with this CatalogCategory
instance. Currently these images
are not displayed by Square, but are free to be displayed in 3rd party applications.
Trait Implementations
sourceimpl Clone for CatalogCategory
impl Clone for CatalogCategory
sourcefn clone(&self) -> CatalogCategory
fn clone(&self) -> CatalogCategory
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 CatalogCategory
impl Debug for CatalogCategory
sourceimpl Default for CatalogCategory
impl Default for CatalogCategory
sourcefn default() -> CatalogCategory
fn default() -> CatalogCategory
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for CatalogCategory
impl<'de> Deserialize<'de> for CatalogCategory
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<CatalogCategory> for CatalogCategory
impl PartialEq<CatalogCategory> for CatalogCategory
sourcefn eq(&self, other: &CatalogCategory) -> bool
fn eq(&self, other: &CatalogCategory) -> bool
sourceimpl Serialize for CatalogCategory
impl Serialize for CatalogCategory
impl Eq for CatalogCategory
impl StructuralEq for CatalogCategory
impl StructuralPartialEq for CatalogCategory
Auto Trait Implementations
impl RefUnwindSafe for CatalogCategory
impl Send for CatalogCategory
impl Sync for CatalogCategory
impl Unpin for CatalogCategory
impl UnwindSafe for CatalogCategory
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.