Struct stripe::NotificationEventRequest
source · pub struct NotificationEventRequest {
pub id: Option<String>,
pub idempotency_key: Option<String>,
}
Fields§
§id: Option<String>
ID of the API request that caused the event.
If null, the event was automatic (e.g., Stripe’s automatic subscription handling). Request logs are available in the dashboard, but currently not in the API.
idempotency_key: Option<String>
The idempotency key transmitted during the request, if any.
Note: This property is populated only for events on or after May 23, 2017.
Trait Implementations§
source§impl Clone for NotificationEventRequest
impl Clone for NotificationEventRequest
source§fn clone(&self) -> NotificationEventRequest
fn clone(&self) -> NotificationEventRequest
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 NotificationEventRequest
impl Debug for NotificationEventRequest
source§impl Default for NotificationEventRequest
impl Default for NotificationEventRequest
source§fn default() -> NotificationEventRequest
fn default() -> NotificationEventRequest
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for NotificationEventRequest
impl<'de> Deserialize<'de> for NotificationEventRequest
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
Auto Trait Implementations§
impl RefUnwindSafe for NotificationEventRequest
impl Send for NotificationEventRequest
impl Sync for NotificationEventRequest
impl Unpin for NotificationEventRequest
impl UnwindSafe for NotificationEventRequest
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