pub struct VendorCreatedEventData {
pub type: Option<Option<String>>,
pub id: Option<String>,
pub object: Option<Box<VendorCreatedEventObject>>,
}Expand description
VendorCreatedEventData : Defines the vendor.created event data structure.
Fields§
§type: Option<Option<String>>The type of the event data object. The value is vendor
id: Option<String>The ID of the event data object.
object: Option<Box<VendorCreatedEventObject>>Implementations§
Source§impl VendorCreatedEventData
impl VendorCreatedEventData
Sourcepub fn new() -> VendorCreatedEventData
pub fn new() -> VendorCreatedEventData
Defines the vendor.created event data structure.
Trait Implementations§
Source§impl Clone for VendorCreatedEventData
impl Clone for VendorCreatedEventData
Source§fn clone(&self) -> VendorCreatedEventData
fn clone(&self) -> VendorCreatedEventData
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 VendorCreatedEventData
impl Debug for VendorCreatedEventData
Source§impl Default for VendorCreatedEventData
impl Default for VendorCreatedEventData
Source§fn default() -> VendorCreatedEventData
fn default() -> VendorCreatedEventData
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for VendorCreatedEventData
impl<'de> Deserialize<'de> for VendorCreatedEventData
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 VendorCreatedEventData
impl PartialEq for VendorCreatedEventData
Source§impl Serialize for VendorCreatedEventData
impl Serialize for VendorCreatedEventData
impl StructuralPartialEq for VendorCreatedEventData
Auto Trait Implementations§
impl Freeze for VendorCreatedEventData
impl RefUnwindSafe for VendorCreatedEventData
impl Send for VendorCreatedEventData
impl Sync for VendorCreatedEventData
impl Unpin for VendorCreatedEventData
impl UnsafeUnpin for VendorCreatedEventData
impl UnwindSafe for VendorCreatedEventData
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