Expand description
GiftDetails : Gift details for the item.
Fields
gift_message: Option<String>Gift message to be printed in shipment.
gift_wrap_id: Option<String>Gift wrap identifier for the gift wrapping, if any.
Implementations
sourceimpl GiftDetails
impl GiftDetails
sourcepub fn new() -> GiftDetails
pub fn new() -> GiftDetails
Gift details for the item.
Trait Implementations
sourceimpl Clone for GiftDetails
impl Clone for GiftDetails
sourcefn clone(&self) -> GiftDetails
fn clone(&self) -> GiftDetails
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 GiftDetails
impl Debug for GiftDetails
sourceimpl Default for GiftDetails
impl Default for GiftDetails
sourcefn default() -> GiftDetails
fn default() -> GiftDetails
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for GiftDetails
impl<'de> Deserialize<'de> for GiftDetails
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<GiftDetails> for GiftDetails
impl PartialEq<GiftDetails> for GiftDetails
sourcefn eq(&self, other: &GiftDetails) -> bool
fn eq(&self, other: &GiftDetails) -> bool
sourceimpl Serialize for GiftDetails
impl Serialize for GiftDetails
impl StructuralPartialEq for GiftDetails
Auto Trait Implementations
impl RefUnwindSafe for GiftDetails
impl Send for GiftDetails
impl Sync for GiftDetails
impl Unpin for GiftDetails
impl UnwindSafe for GiftDetails
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