pub struct LabelFormatOption {
pub include_packing_slip_with_label: Option<bool>,
pub label_format: Option<LabelFormat>,
}Expand description
LabelFormatOption : The label format details and whether to include a packing slip.
Fields§
§include_packing_slip_with_label: Option<bool>When true, include a packing slip with the label.
label_format: Option<LabelFormat>Implementations§
Source§impl LabelFormatOption
impl LabelFormatOption
Sourcepub fn new() -> LabelFormatOption
pub fn new() -> LabelFormatOption
The label format details and whether to include a packing slip.
Trait Implementations§
Source§impl Clone for LabelFormatOption
impl Clone for LabelFormatOption
Source§fn clone(&self) -> LabelFormatOption
fn clone(&self) -> LabelFormatOption
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 LabelFormatOption
impl Debug for LabelFormatOption
Source§impl Default for LabelFormatOption
impl Default for LabelFormatOption
Source§fn default() -> LabelFormatOption
fn default() -> LabelFormatOption
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LabelFormatOption
impl<'de> Deserialize<'de> for LabelFormatOption
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 LabelFormatOption
impl PartialEq for LabelFormatOption
Source§impl Serialize for LabelFormatOption
impl Serialize for LabelFormatOption
impl StructuralPartialEq for LabelFormatOption
Auto Trait Implementations§
impl Freeze for LabelFormatOption
impl RefUnwindSafe for LabelFormatOption
impl Send for LabelFormatOption
impl Sync for LabelFormatOption
impl Unpin for LabelFormatOption
impl UnsafeUnpin for LabelFormatOption
impl UnwindSafe for LabelFormatOption
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