pub struct CatalogV1Id {
pub catalog_v1_id: Option<String>,
pub location_id: Option<String>,
}
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§
Source§impl Clone for CatalogV1Id
impl Clone for CatalogV1Id
Source§fn clone(&self) -> CatalogV1Id
fn clone(&self) -> CatalogV1Id
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for CatalogV1Id
impl Debug for CatalogV1Id
Source§impl Default for CatalogV1Id
impl Default for CatalogV1Id
Source§fn default() -> CatalogV1Id
fn default() -> CatalogV1Id
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CatalogV1Id
impl<'de> Deserialize<'de> for CatalogV1Id
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 CatalogV1Id
impl PartialEq for CatalogV1Id
Source§impl Serialize for CatalogV1Id
impl Serialize for CatalogV1Id
impl Eq for CatalogV1Id
impl StructuralPartialEq for CatalogV1Id
Auto Trait Implementations§
impl Freeze for CatalogV1Id
impl RefUnwindSafe for CatalogV1Id
impl Send for CatalogV1Id
impl Sync for CatalogV1Id
impl Unpin for CatalogV1Id
impl UnwindSafe for CatalogV1Id
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.