pub struct PartneredEstimate {
pub amount: Box<Amount>,
pub confirm_deadline: Option<String>,
pub void_deadline: Option<String>,
}Expand description
PartneredEstimate : The estimated shipping cost for a shipment using an Amazon-partnered carrier.
Fields
amount: Box<Amount>confirm_deadline: Option<String>void_deadline: Option<String>Implementations
sourceimpl PartneredEstimate
impl PartneredEstimate
sourcepub fn new(amount: Amount) -> PartneredEstimate
pub fn new(amount: Amount) -> PartneredEstimate
The estimated shipping cost for a shipment using an Amazon-partnered carrier.
Trait Implementations
sourceimpl Clone for PartneredEstimate
impl Clone for PartneredEstimate
sourcefn clone(&self) -> PartneredEstimate
fn clone(&self) -> PartneredEstimate
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 PartneredEstimate
impl Debug for PartneredEstimate
sourceimpl Default for PartneredEstimate
impl Default for PartneredEstimate
sourcefn default() -> PartneredEstimate
fn default() -> PartneredEstimate
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for PartneredEstimate
impl<'de> Deserialize<'de> for PartneredEstimate
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<PartneredEstimate> for PartneredEstimate
impl PartialEq<PartneredEstimate> for PartneredEstimate
sourcefn eq(&self, other: &PartneredEstimate) -> bool
fn eq(&self, other: &PartneredEstimate) -> bool
sourceimpl Serialize for PartneredEstimate
impl Serialize for PartneredEstimate
impl StructuralPartialEq for PartneredEstimate
Auto Trait Implementations
impl RefUnwindSafe for PartneredEstimate
impl Send for PartneredEstimate
impl Sync for PartneredEstimate
impl Unpin for PartneredEstimate
impl UnwindSafe for PartneredEstimate
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