pub struct Rate {
pub rate_id: Option<String>,
pub total_charge: Option<Box<Currency>>,
pub billed_weight: Option<Box<Weight>>,
pub expiration_time: Option<String>,
pub service_type: Option<ServiceType>,
pub promise: Option<Box<ShippingPromiseSet>>,
}Expand description
Rate : The available rate that can be used to send the shipment
Fields§
§rate_id: Option<String>An identifier for the rate.
total_charge: Option<Box<Currency>>§billed_weight: Option<Box<Weight>>§expiration_time: Option<String>The time after which the offering will expire.
service_type: Option<ServiceType>§promise: Option<Box<ShippingPromiseSet>>Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Rate
impl<'de> Deserialize<'de> for Rate
Source§fn 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 Rate
Auto Trait Implementations§
impl Freeze for Rate
impl RefUnwindSafe for Rate
impl Send for Rate
impl Sync for Rate
impl Unpin for Rate
impl UnwindSafe for Rate
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more