pub struct NdrRequestData {
pub reschedule_date: Option<String>,
pub additional_address_notes: Option<String>,
}Expand description
NdrRequestData : Additional information required for the NDR action that has been filed. If the NDR Action is RESCHEDULE, rescheduleDate is a required field. Otherwise, if the NDR Action is REATTEMPT, additionalAddressNotes is a required field.
Fields§
§reschedule_date: Option<String>The date on which the Seller wants to reschedule shipment delivery, in ISO-8601 date/time format
additional_address_notes: Option<String>Address notes to re-attempt delivery with.
Implementations§
Source§impl NdrRequestData
impl NdrRequestData
Sourcepub fn new() -> NdrRequestData
pub fn new() -> NdrRequestData
Additional information required for the NDR action that has been filed. If the NDR Action is RESCHEDULE, rescheduleDate is a required field. Otherwise, if the NDR Action is REATTEMPT, additionalAddressNotes is a required field.
Trait Implementations§
Source§impl Clone for NdrRequestData
impl Clone for NdrRequestData
Source§fn clone(&self) -> NdrRequestData
fn clone(&self) -> NdrRequestData
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 NdrRequestData
impl Debug for NdrRequestData
Source§impl Default for NdrRequestData
impl Default for NdrRequestData
Source§fn default() -> NdrRequestData
fn default() -> NdrRequestData
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NdrRequestData
impl<'de> Deserialize<'de> for NdrRequestData
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 NdrRequestData
impl PartialEq for NdrRequestData
Source§impl Serialize for NdrRequestData
impl Serialize for NdrRequestData
impl StructuralPartialEq for NdrRequestData
Auto Trait Implementations§
impl Freeze for NdrRequestData
impl RefUnwindSafe for NdrRequestData
impl Send for NdrRequestData
impl Sync for NdrRequestData
impl Unpin for NdrRequestData
impl UnsafeUnpin for NdrRequestData
impl UnwindSafe for NdrRequestData
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