Struct amazon_sp_orders::models::rejection_reason::RejectionReason
source · [−]pub struct RejectionReason {
pub rejection_reason_id: String,
pub rejection_reason_description: String,
}Expand description
RejectionReason : The reason for rejecting the order’s regulated information. Not present if the order isn’t rejected.
Fields
rejection_reason_id: StringThe unique identifier for the rejection reason.
rejection_reason_description: StringThe description of this rejection reason.
Implementations
sourceimpl RejectionReason
impl RejectionReason
sourcepub fn new(
rejection_reason_id: String,
rejection_reason_description: String
) -> RejectionReason
pub fn new(
rejection_reason_id: String,
rejection_reason_description: String
) -> RejectionReason
The reason for rejecting the order’s regulated information. Not present if the order isn’t rejected.
Trait Implementations
sourceimpl Clone for RejectionReason
impl Clone for RejectionReason
sourcefn clone(&self) -> RejectionReason
fn clone(&self) -> RejectionReason
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for RejectionReason
impl Debug for RejectionReason
sourceimpl Default for RejectionReason
impl Default for RejectionReason
sourcefn default() -> RejectionReason
fn default() -> RejectionReason
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for RejectionReason
impl<'de> Deserialize<'de> for RejectionReason
sourcefn 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
sourceimpl PartialEq<RejectionReason> for RejectionReason
impl PartialEq<RejectionReason> for RejectionReason
sourcefn eq(&self, other: &RejectionReason) -> bool
fn eq(&self, other: &RejectionReason) -> bool
sourceimpl Serialize for RejectionReason
impl Serialize for RejectionReason
impl StructuralPartialEq for RejectionReason
Auto Trait Implementations
impl RefUnwindSafe for RejectionReason
impl Send for RejectionReason
impl Sync for RejectionReason
impl Unpin for RejectionReason
impl UnwindSafe for RejectionReason
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more