pub struct LabelCustomization {
pub custom_text_for_label: Option<String>,
pub standard_id_for_label: Option<StandardIdForLabel>,
}Expand description
LabelCustomization : Custom text for shipping labels.
Fields
custom_text_for_label: Option<String>Custom text to print on the label. Note: Custom text is only included on labels that are in ZPL format (ZPL203). FedEx does not support CustomTextForLabel.
standard_id_for_label: Option<StandardIdForLabel>Implementations
sourceimpl LabelCustomization
impl LabelCustomization
sourcepub fn new() -> LabelCustomization
pub fn new() -> LabelCustomization
Custom text for shipping labels.
Trait Implementations
sourceimpl Clone for LabelCustomization
impl Clone for LabelCustomization
sourcefn clone(&self) -> LabelCustomization
fn clone(&self) -> LabelCustomization
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 LabelCustomization
impl Debug for LabelCustomization
sourceimpl Default for LabelCustomization
impl Default for LabelCustomization
sourcefn default() -> LabelCustomization
fn default() -> LabelCustomization
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for LabelCustomization
impl<'de> Deserialize<'de> for LabelCustomization
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<LabelCustomization> for LabelCustomization
impl PartialEq<LabelCustomization> for LabelCustomization
sourcefn eq(&self, other: &LabelCustomization) -> bool
fn eq(&self, other: &LabelCustomization) -> bool
sourceimpl Serialize for LabelCustomization
impl Serialize for LabelCustomization
impl StructuralPartialEq for LabelCustomization
Auto Trait Implementations
impl RefUnwindSafe for LabelCustomization
impl Send for LabelCustomization
impl Sync for LabelCustomization
impl Unpin for LabelCustomization
impl UnwindSafe for LabelCustomization
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