pub struct TeamMemberEventWebhookResponse {
pub merchant_id: String,
pub location_id: Option<String>,
pub type: TeamMemberWebhookEventType,
pub event_id: String,
pub created_at: DateTime,
pub data: TeamMemberEventData,
}Expand description
This is a model struct for TeamMemberEventWebhookResponse type.
Fields§
§merchant_id: StringThe ID of the target seller associated with the event.
location_id: Option<String>The location id.
type: TeamMemberWebhookEventTypeThe type of this event.
event_id: StringA unique ID for the event.
created_at: DateTimeRead only The timestamp of when the event was created, in RFC 3339 format. Examples for January 25th, 2020 6:25:34pm Pacific Standard Time: UTC: 2020-01-26T02:25:34Z Pacific Standard Time with UTC offset: 2020-01-25T18:25:34-08:00
data: TeamMemberEventDataThe data associated with the event.
Trait Implementations§
Source§impl Clone for TeamMemberEventWebhookResponse
impl Clone for TeamMemberEventWebhookResponse
Source§fn clone(&self) -> TeamMemberEventWebhookResponse
fn clone(&self) -> TeamMemberEventWebhookResponse
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<'de> Deserialize<'de> for TeamMemberEventWebhookResponse
impl<'de> Deserialize<'de> for TeamMemberEventWebhookResponse
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 TeamMemberEventWebhookResponse
impl PartialEq for TeamMemberEventWebhookResponse
Source§fn eq(&self, other: &TeamMemberEventWebhookResponse) -> bool
fn eq(&self, other: &TeamMemberEventWebhookResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for TeamMemberEventWebhookResponse
impl StructuralPartialEq for TeamMemberEventWebhookResponse
Auto Trait Implementations§
impl Freeze for TeamMemberEventWebhookResponse
impl RefUnwindSafe for TeamMemberEventWebhookResponse
impl Send for TeamMemberEventWebhookResponse
impl Sync for TeamMemberEventWebhookResponse
impl Unpin for TeamMemberEventWebhookResponse
impl UnwindSafe for TeamMemberEventWebhookResponse
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