pub struct RestrictionList {
pub restrictions: Vec<Restriction>,
}Expand description
RestrictionList : A list of restrictions for the specified Amazon catalog item.
Fields
restrictions: Vec<Restriction>Implementations
sourceimpl RestrictionList
impl RestrictionList
sourcepub fn new(restrictions: Vec<Restriction>) -> RestrictionList
pub fn new(restrictions: Vec<Restriction>) -> RestrictionList
A list of restrictions for the specified Amazon catalog item.
Trait Implementations
sourceimpl Clone for RestrictionList
impl Clone for RestrictionList
sourcefn clone(&self) -> RestrictionList
fn clone(&self) -> RestrictionList
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 RestrictionList
impl Debug for RestrictionList
sourceimpl Default for RestrictionList
impl Default for RestrictionList
sourcefn default() -> RestrictionList
fn default() -> RestrictionList
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for RestrictionList
impl<'de> Deserialize<'de> for RestrictionList
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<RestrictionList> for RestrictionList
impl PartialEq<RestrictionList> for RestrictionList
sourcefn eq(&self, other: &RestrictionList) -> bool
fn eq(&self, other: &RestrictionList) -> bool
sourceimpl Serialize for RestrictionList
impl Serialize for RestrictionList
impl StructuralPartialEq for RestrictionList
Auto Trait Implementations
impl RefUnwindSafe for RestrictionList
impl Send for RestrictionList
impl Sync for RestrictionList
impl Unpin for RestrictionList
impl UnwindSafe for RestrictionList
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