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
sourceimpl Clone for SubscriptionEventInfo
impl Clone for SubscriptionEventInfo
sourcefn clone(&self) -> SubscriptionEventInfo
fn clone(&self) -> SubscriptionEventInfo
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 SubscriptionEventInfo
impl Debug for SubscriptionEventInfo
sourceimpl<'de> Deserialize<'de> for SubscriptionEventInfo
impl<'de> Deserialize<'de> for SubscriptionEventInfo
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<SubscriptionEventInfo> for SubscriptionEventInfo
impl PartialEq<SubscriptionEventInfo> for SubscriptionEventInfo
sourcefn eq(&self, other: &SubscriptionEventInfo) -> bool
fn eq(&self, other: &SubscriptionEventInfo) -> bool
sourceimpl 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
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.