pub struct CreateMerchantCustomAttributeDefinitionResponse {
pub custom_attribute_definition: Option<Box<CustomAttributeDefinition>>,
pub errors: Option<Vec<Error>>,
}Expand description
CreateMerchantCustomAttributeDefinitionResponse : Represents a CreateMerchantCustomAttributeDefinition response. Either custom_attribute_definition or errors is present in the response.
Fields§
§custom_attribute_definition: Option<Box<CustomAttributeDefinition>>§errors: Option<Vec<Error>>Any errors that occurred during the request.
Implementations§
Source§impl CreateMerchantCustomAttributeDefinitionResponse
impl CreateMerchantCustomAttributeDefinitionResponse
Sourcepub fn new() -> CreateMerchantCustomAttributeDefinitionResponse
pub fn new() -> CreateMerchantCustomAttributeDefinitionResponse
Represents a CreateMerchantCustomAttributeDefinition response. Either custom_attribute_definition or errors is present in the response.
Trait Implementations§
Source§impl Clone for CreateMerchantCustomAttributeDefinitionResponse
impl Clone for CreateMerchantCustomAttributeDefinitionResponse
Source§fn clone(&self) -> CreateMerchantCustomAttributeDefinitionResponse
fn clone(&self) -> CreateMerchantCustomAttributeDefinitionResponse
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 Default for CreateMerchantCustomAttributeDefinitionResponse
impl Default for CreateMerchantCustomAttributeDefinitionResponse
Source§fn default() -> CreateMerchantCustomAttributeDefinitionResponse
fn default() -> CreateMerchantCustomAttributeDefinitionResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CreateMerchantCustomAttributeDefinitionResponse
impl<'de> Deserialize<'de> for CreateMerchantCustomAttributeDefinitionResponse
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
impl StructuralPartialEq for CreateMerchantCustomAttributeDefinitionResponse
Auto Trait Implementations§
impl Freeze for CreateMerchantCustomAttributeDefinitionResponse
impl RefUnwindSafe for CreateMerchantCustomAttributeDefinitionResponse
impl Send for CreateMerchantCustomAttributeDefinitionResponse
impl Sync for CreateMerchantCustomAttributeDefinitionResponse
impl Unpin for CreateMerchantCustomAttributeDefinitionResponse
impl UnsafeUnpin for CreateMerchantCustomAttributeDefinitionResponse
impl UnwindSafe for CreateMerchantCustomAttributeDefinitionResponse
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