pub struct Reason {
pub message: String,
pub reason_code: Option<ReasonCode>,
pub links: Option<Vec<Link>>,
}Expand description
Reason : A reason for the restriction, including path forward links that may allow Selling Partners to remove the restriction, if available.
Fields
message: StringA message describing the reason for the restriction.
reason_code: Option<ReasonCode>A code indicating why the listing is restricted.
links: Option<Vec<Link>>A list of path forward links that may allow Selling Partners to remove the restriction.
Implementations
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Reason
impl<'de> Deserialize<'de> for Reason
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
impl StructuralPartialEq for Reason
Auto Trait Implementations
impl RefUnwindSafe for Reason
impl Send for Reason
impl Sync for Reason
impl Unpin for Reason
impl UnwindSafe for Reason
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