Struct squareup::models::CatalogObjectCategory
source · pub struct CatalogObjectCategory {
pub id: Option<String>,
pub ordinal: Option<i64>,
}Expand description
A CatalogObjectCategory describing the category
Fields§
§id: Option<String>The ID of the object’s category.
ordinal: Option<i64>The order of the object within the context of the category.
Trait Implementations§
source§impl Clone for CatalogObjectCategory
impl Clone for CatalogObjectCategory
source§fn clone(&self) -> CatalogObjectCategory
fn clone(&self) -> CatalogObjectCategory
Returns a copy 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 CatalogObjectCategory
impl Debug for CatalogObjectCategory
source§impl Default for CatalogObjectCategory
impl Default for CatalogObjectCategory
source§fn default() -> CatalogObjectCategory
fn default() -> CatalogObjectCategory
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for CatalogObjectCategory
impl<'de> Deserialize<'de> for CatalogObjectCategory
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 CatalogObjectCategory
impl PartialEq for CatalogObjectCategory
source§fn eq(&self, other: &CatalogObjectCategory) -> bool
fn eq(&self, other: &CatalogObjectCategory) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for CatalogObjectCategory
impl Serialize for CatalogObjectCategory
impl Eq for CatalogObjectCategory
impl StructuralPartialEq for CatalogObjectCategory
Auto Trait Implementations§
impl RefUnwindSafe for CatalogObjectCategory
impl Send for CatalogObjectCategory
impl Sync for CatalogObjectCategory
impl Unpin for CatalogObjectCategory
impl UnwindSafe for CatalogObjectCategory
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.