pub struct AvailableValueAddedServiceGroup {
pub group_id: String,
pub group_description: String,
pub is_required: bool,
pub value_added_services: Option<Vec<ValueAddedService>>,
}Expand description
AvailableValueAddedServiceGroup : The value-added services available for purchase with a shipping service offering.
Fields§
§group_id: StringThe type of the value-added service group.
group_description: StringThe name of the value-added service group.
is_required: boolWhen true, one or more of the value-added services listed must be specified.
value_added_services: Option<Vec<ValueAddedService>>A list of optional value-added services available for purchase with a shipping service offering.
Implementations§
Trait Implementations§
Source§impl Clone for AvailableValueAddedServiceGroup
impl Clone for AvailableValueAddedServiceGroup
Source§fn clone(&self) -> AvailableValueAddedServiceGroup
fn clone(&self) -> AvailableValueAddedServiceGroup
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 Default for AvailableValueAddedServiceGroup
impl Default for AvailableValueAddedServiceGroup
Source§fn default() -> AvailableValueAddedServiceGroup
fn default() -> AvailableValueAddedServiceGroup
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AvailableValueAddedServiceGroup
impl<'de> Deserialize<'de> for AvailableValueAddedServiceGroup
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 AvailableValueAddedServiceGroup
impl PartialEq for AvailableValueAddedServiceGroup
Source§fn eq(&self, other: &AvailableValueAddedServiceGroup) -> bool
fn eq(&self, other: &AvailableValueAddedServiceGroup) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AvailableValueAddedServiceGroup
Auto Trait Implementations§
impl Freeze for AvailableValueAddedServiceGroup
impl RefUnwindSafe for AvailableValueAddedServiceGroup
impl Send for AvailableValueAddedServiceGroup
impl Sync for AvailableValueAddedServiceGroup
impl Unpin for AvailableValueAddedServiceGroup
impl UnsafeUnpin for AvailableValueAddedServiceGroup
impl UnwindSafe for AvailableValueAddedServiceGroup
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