pub struct LabelData {
pub label_sequence_number: Option<i32>,
pub label_format: Option<LabelFormat>,
pub carrier_code: Option<String>,
pub tracking_id: Option<String>,
pub label: Option<String>,
}Expand description
LabelData : Label details as part of the transport label response
Fields§
§label_sequence_number: Option<i32>A sequential number assigned to each label within a shipment.
label_format: Option<LabelFormat>The format of the label.
carrier_code: Option<String>Unique identification of the carrier.
tracking_id: Option<String>Tracking Id for the transportation.
label: Option<String>The base-64 encoded string that represents the shipment label.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for LabelData
impl<'de> Deserialize<'de> for LabelData
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
impl StructuralPartialEq for LabelData
Auto Trait Implementations§
impl Freeze for LabelData
impl RefUnwindSafe for LabelData
impl Send for LabelData
impl Sync for LabelData
impl Unpin for LabelData
impl UnwindSafe for LabelData
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