pub struct InvoiceCanceledEventData {
pub type: Option<Option<String>>,
pub id: Option<String>,
pub object: Option<Box<InvoiceCanceledEventObject>>,
}Fields§
§type: Option<Option<String>>Name of the affected object’s type, \"invoice\".
id: Option<String>ID of the affected invoice.
object: Option<Box<InvoiceCanceledEventObject>>Implementations§
Source§impl InvoiceCanceledEventData
impl InvoiceCanceledEventData
pub fn new() -> InvoiceCanceledEventData
Trait Implementations§
Source§impl Clone for InvoiceCanceledEventData
impl Clone for InvoiceCanceledEventData
Source§fn clone(&self) -> InvoiceCanceledEventData
fn clone(&self) -> InvoiceCanceledEventData
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 InvoiceCanceledEventData
impl Debug for InvoiceCanceledEventData
Source§impl Default for InvoiceCanceledEventData
impl Default for InvoiceCanceledEventData
Source§fn default() -> InvoiceCanceledEventData
fn default() -> InvoiceCanceledEventData
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for InvoiceCanceledEventData
impl<'de> Deserialize<'de> for InvoiceCanceledEventData
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 InvoiceCanceledEventData
impl PartialEq for InvoiceCanceledEventData
Source§impl Serialize for InvoiceCanceledEventData
impl Serialize for InvoiceCanceledEventData
impl StructuralPartialEq for InvoiceCanceledEventData
Auto Trait Implementations§
impl Freeze for InvoiceCanceledEventData
impl RefUnwindSafe for InvoiceCanceledEventData
impl Send for InvoiceCanceledEventData
impl Sync for InvoiceCanceledEventData
impl Unpin for InvoiceCanceledEventData
impl UnsafeUnpin for InvoiceCanceledEventData
impl UnwindSafe for InvoiceCanceledEventData
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