pub struct ValueAddedService {
pub id: String,
pub name: String,
pub cost: Box<Currency>,
}Expand description
ValueAddedService : A value-added service available for purchase with a shipment service offering.
Fields§
§id: StringThe identifier for the value-added service.
name: StringThe name of the value-added service.
cost: Box<Currency>Implementations§
Trait Implementations§
Source§impl Clone for ValueAddedService
impl Clone for ValueAddedService
Source§fn clone(&self) -> ValueAddedService
fn clone(&self) -> ValueAddedService
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ValueAddedService
impl Debug for ValueAddedService
Source§impl Default for ValueAddedService
impl Default for ValueAddedService
Source§fn default() -> ValueAddedService
fn default() -> ValueAddedService
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ValueAddedService
impl<'de> Deserialize<'de> for ValueAddedService
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
Source§impl PartialEq for ValueAddedService
impl PartialEq for ValueAddedService
Source§impl Serialize for ValueAddedService
impl Serialize for ValueAddedService
impl StructuralPartialEq for ValueAddedService
Auto Trait Implementations§
impl Freeze for ValueAddedService
impl RefUnwindSafe for ValueAddedService
impl Send for ValueAddedService
impl Sync for ValueAddedService
impl Unpin for ValueAddedService
impl UnwindSafe for ValueAddedService
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