pub struct Fee {
pub label: String,
pub amount: i64,
}Expand description
A fee of a quote.
Fields§
§label: StringWhat it is (“Delivery”).
amount: i64Minor units.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Fee
impl<'de> Deserialize<'de> for Fee
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 Eq for Fee
impl StructuralPartialEq for Fee
Auto Trait Implementations§
impl Forget for Fee
impl Freeze for Fee
impl RefUnwindSafe for Fee
impl Send for Fee
impl Sync for Fee
impl Unpin for Fee
impl UnsafeUnpin for Fee
impl UnwindSafe for Fee
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