pub struct UpdatePackageDetails {
pub scheduled_package_id: Box<ScheduledPackageId>,
pub package_time_slot: Box<TimeSlot>,
}Expand description
UpdatePackageDetails : Request to update the time slot of a package.
Fields
scheduled_package_id: Box<ScheduledPackageId>package_time_slot: Box<TimeSlot>Implementations
sourceimpl UpdatePackageDetails
impl UpdatePackageDetails
sourcepub fn new(
scheduled_package_id: ScheduledPackageId,
package_time_slot: TimeSlot
) -> UpdatePackageDetails
pub fn new(
scheduled_package_id: ScheduledPackageId,
package_time_slot: TimeSlot
) -> UpdatePackageDetails
Request to update the time slot of a package.
Trait Implementations
sourceimpl Clone for UpdatePackageDetails
impl Clone for UpdatePackageDetails
sourcefn clone(&self) -> UpdatePackageDetails
fn clone(&self) -> UpdatePackageDetails
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 UpdatePackageDetails
impl Debug for UpdatePackageDetails
sourceimpl Default for UpdatePackageDetails
impl Default for UpdatePackageDetails
sourcefn default() -> UpdatePackageDetails
fn default() -> UpdatePackageDetails
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for UpdatePackageDetails
impl<'de> Deserialize<'de> for UpdatePackageDetails
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<UpdatePackageDetails> for UpdatePackageDetails
impl PartialEq<UpdatePackageDetails> for UpdatePackageDetails
sourcefn eq(&self, other: &UpdatePackageDetails) -> bool
fn eq(&self, other: &UpdatePackageDetails) -> bool
sourceimpl Serialize for UpdatePackageDetails
impl Serialize for UpdatePackageDetails
impl StructuralPartialEq for UpdatePackageDetails
Auto Trait Implementations
impl RefUnwindSafe for UpdatePackageDetails
impl Send for UpdatePackageDetails
impl Sync for UpdatePackageDetails
impl Unpin for UpdatePackageDetails
impl UnwindSafe for UpdatePackageDetails
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