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
sourceimpl LabelFormatOption
impl LabelFormatOption
sourcepub fn new() -> LabelFormatOption
pub fn new() -> LabelFormatOption
The label format details and whether to include a packing slip.
Trait Implementations
sourceimpl Clone for LabelFormatOption
impl Clone for LabelFormatOption
sourcefn clone(&self) -> LabelFormatOption
fn clone(&self) -> LabelFormatOption
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for LabelFormatOption
impl Debug for LabelFormatOption
sourceimpl Default for LabelFormatOption
impl Default for LabelFormatOption
sourcefn default() -> LabelFormatOption
fn default() -> LabelFormatOption
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for LabelFormatOption
impl<'de> Deserialize<'de> for LabelFormatOption
sourcefn 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
sourceimpl PartialEq<LabelFormatOption> for LabelFormatOption
impl PartialEq<LabelFormatOption> for LabelFormatOption
sourcefn eq(&self, other: &LabelFormatOption) -> bool
fn eq(&self, other: &LabelFormatOption) -> bool
sourceimpl Serialize for LabelFormatOption
impl Serialize for LabelFormatOption
impl StructuralPartialEq for LabelFormatOption
Auto Trait Implementations
impl RefUnwindSafe for LabelFormatOption
impl Send for LabelFormatOption
impl Sync for LabelFormatOption
impl Unpin for LabelFormatOption
impl UnwindSafe for LabelFormatOption
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more