pub struct TimeSlot {
pub slot_id: String,
pub start_time: Option<String>,
pub end_time: Option<String>,
pub handover_method: Option<HandoverMethod>,
}Expand description
TimeSlot : A time window to hand over an Easy Ship package to Amazon Logistics.
Fields
slot_id: StringA string of up to 255 characters.
start_time: Option<String>A datetime value in ISO 8601 format.
end_time: Option<String>A datetime value in ISO 8601 format.
handover_method: Option<HandoverMethod>Implementations
Trait Implementations
sourceimpl<'de> Deserialize<'de> for TimeSlot
impl<'de> Deserialize<'de> for TimeSlot
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
impl StructuralPartialEq for TimeSlot
Auto Trait Implementations
impl RefUnwindSafe for TimeSlot
impl Send for TimeSlot
impl Sync for TimeSlot
impl Unpin for TimeSlot
impl UnwindSafe for TimeSlot
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