Struct square_api_client::models::SubscriptionEventInfo
source · pub struct SubscriptionEventInfo {
pub detail: Option<String>,
pub code: Option<SubscriptionEventInfoCode>,
}
Expand description
Provides information about the subscription event.
Fields§
§detail: Option<String>
A human-readable explanation for the event.
code: Option<SubscriptionEventInfoCode>
An info code indicating the subscription event that occurred.
Trait Implementations§
source§impl Clone for SubscriptionEventInfo
impl Clone for SubscriptionEventInfo
source§fn clone(&self) -> SubscriptionEventInfo
fn clone(&self) -> SubscriptionEventInfo
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 SubscriptionEventInfo
impl Debug for SubscriptionEventInfo
source§impl<'de> Deserialize<'de> for SubscriptionEventInfo
impl<'de> Deserialize<'de> for SubscriptionEventInfo
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<SubscriptionEventInfo> for SubscriptionEventInfo
impl PartialEq<SubscriptionEventInfo> for SubscriptionEventInfo
source§fn eq(&self, other: &SubscriptionEventInfo) -> bool
fn eq(&self, other: &SubscriptionEventInfo) -> bool
source§impl Serialize for SubscriptionEventInfo
impl Serialize for SubscriptionEventInfo
impl Eq for SubscriptionEventInfo
impl StructuralEq for SubscriptionEventInfo
impl StructuralPartialEq for SubscriptionEventInfo
Auto Trait Implementations§
impl RefUnwindSafe for SubscriptionEventInfo
impl Send for SubscriptionEventInfo
impl Sync for SubscriptionEventInfo
impl Unpin for SubscriptionEventInfo
impl UnwindSafe for SubscriptionEventInfo
Blanket Implementations§
source§impl<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,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.