pub struct AddShipmentEvent {
pub event_type: String,
pub location: Option<String>,
pub description: Option<String>,
pub event_time: Option<DateTime<Utc>>,
}Expand description
Input for adding a tracking event
Fields§
§event_type: String§location: Option<String>§description: Option<String>§event_time: Option<DateTime<Utc>>Trait Implementations§
Source§impl Clone for AddShipmentEvent
impl Clone for AddShipmentEvent
Source§fn clone(&self) -> AddShipmentEvent
fn clone(&self) -> AddShipmentEvent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for AddShipmentEvent
impl RefUnwindSafe for AddShipmentEvent
impl Send for AddShipmentEvent
impl Sync for AddShipmentEvent
impl Unpin for AddShipmentEvent
impl UnsafeUnpin for AddShipmentEvent
impl UnwindSafe for AddShipmentEvent
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