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§
Source§impl LabelCustomization
impl LabelCustomization
Sourcepub fn new() -> LabelCustomization
pub fn new() -> LabelCustomization
Custom text for shipping labels.
Trait Implementations§
Source§impl Clone for LabelCustomization
impl Clone for LabelCustomization
Source§fn clone(&self) -> LabelCustomization
fn clone(&self) -> LabelCustomization
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 LabelCustomization
impl Debug for LabelCustomization
Source§impl Default for LabelCustomization
impl Default for LabelCustomization
Source§fn default() -> LabelCustomization
fn default() -> LabelCustomization
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LabelCustomization
impl<'de> Deserialize<'de> for LabelCustomization
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 LabelCustomization
impl PartialEq for LabelCustomization
Source§impl Serialize for LabelCustomization
impl Serialize for LabelCustomization
impl StructuralPartialEq for LabelCustomization
Auto Trait Implementations§
impl Freeze for LabelCustomization
impl RefUnwindSafe for LabelCustomization
impl Send for LabelCustomization
impl Sync for LabelCustomization
impl Unpin for LabelCustomization
impl UnwindSafe for LabelCustomization
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