pub struct PointsGrantedDetail {
pub points_number: Option<i32>,
pub points_monetary_value: Option<Box<Money>>,
}Expand description
PointsGrantedDetail : The number of Amazon Points offered with the purchase of an item, and their monetary value.
Fields
points_number: Option<i32>The number of Amazon Points granted with the purchase of an item.
points_monetary_value: Option<Box<Money>>Implementations
sourceimpl PointsGrantedDetail
impl PointsGrantedDetail
sourcepub fn new() -> PointsGrantedDetail
pub fn new() -> PointsGrantedDetail
The number of Amazon Points offered with the purchase of an item, and their monetary value.
Trait Implementations
sourceimpl Clone for PointsGrantedDetail
impl Clone for PointsGrantedDetail
sourcefn clone(&self) -> PointsGrantedDetail
fn clone(&self) -> PointsGrantedDetail
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 PointsGrantedDetail
impl Debug for PointsGrantedDetail
sourceimpl Default for PointsGrantedDetail
impl Default for PointsGrantedDetail
sourcefn default() -> PointsGrantedDetail
fn default() -> PointsGrantedDetail
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for PointsGrantedDetail
impl<'de> Deserialize<'de> for PointsGrantedDetail
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<PointsGrantedDetail> for PointsGrantedDetail
impl PartialEq<PointsGrantedDetail> for PointsGrantedDetail
sourcefn eq(&self, other: &PointsGrantedDetail) -> bool
fn eq(&self, other: &PointsGrantedDetail) -> bool
sourceimpl Serialize for PointsGrantedDetail
impl Serialize for PointsGrantedDetail
impl StructuralPartialEq for PointsGrantedDetail
Auto Trait Implementations
impl RefUnwindSafe for PointsGrantedDetail
impl Send for PointsGrantedDetail
impl Sync for PointsGrantedDetail
impl Unpin for PointsGrantedDetail
impl UnwindSafe for PointsGrantedDetail
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