Struct square_api_client::models::CatalogV1Id
source · [−]Expand description
A Square API V1 identifier of an item, including the object ID and its associated location ID.
Fields
catalog_v1_id: Option<String>
The ID for an object used in the Square API V1, if the object ID differs from the Square API V2 object ID.
location_id: Option<String>
The ID of the Location
this Connect V1 ID is associated with.
Trait Implementations
sourceimpl Clone for CatalogV1Id
impl Clone for CatalogV1Id
sourcefn clone(&self) -> CatalogV1Id
fn clone(&self) -> CatalogV1Id
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 CatalogV1Id
impl Debug for CatalogV1Id
sourceimpl Default for CatalogV1Id
impl Default for CatalogV1Id
sourcefn default() -> CatalogV1Id
fn default() -> CatalogV1Id
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for CatalogV1Id
impl<'de> Deserialize<'de> for CatalogV1Id
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<CatalogV1Id> for CatalogV1Id
impl PartialEq<CatalogV1Id> for CatalogV1Id
sourcefn eq(&self, other: &CatalogV1Id) -> bool
fn eq(&self, other: &CatalogV1Id) -> bool
sourceimpl Serialize for CatalogV1Id
impl Serialize for CatalogV1Id
impl Eq for CatalogV1Id
impl StructuralEq for CatalogV1Id
impl StructuralPartialEq for CatalogV1Id
Auto Trait Implementations
impl RefUnwindSafe for CatalogV1Id
impl Send for CatalogV1Id
impl Sync for CatalogV1Id
impl Unpin for CatalogV1Id
impl UnwindSafe for CatalogV1Id
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.