pub struct GoodsOwner {
pub merchant_id: String,
}Expand description
GoodsOwner : The seller owning the goods before handing them over to the carrier
Fields§
§merchant_id: Stringmerchant Id of provided merchant
Implementations§
Source§impl GoodsOwner
impl GoodsOwner
Sourcepub fn new(merchant_id: String) -> GoodsOwner
pub fn new(merchant_id: String) -> GoodsOwner
The seller owning the goods before handing them over to the carrier
Trait Implementations§
Source§impl Clone for GoodsOwner
impl Clone for GoodsOwner
Source§fn clone(&self) -> GoodsOwner
fn clone(&self) -> GoodsOwner
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 GoodsOwner
impl Debug for GoodsOwner
Source§impl Default for GoodsOwner
impl Default for GoodsOwner
Source§fn default() -> GoodsOwner
fn default() -> GoodsOwner
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GoodsOwner
impl<'de> Deserialize<'de> for GoodsOwner
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 GoodsOwner
impl PartialEq for GoodsOwner
Source§impl Serialize for GoodsOwner
impl Serialize for GoodsOwner
impl StructuralPartialEq for GoodsOwner
Auto Trait Implementations§
impl Freeze for GoodsOwner
impl RefUnwindSafe for GoodsOwner
impl Send for GoodsOwner
impl Sync for GoodsOwner
impl Unpin for GoodsOwner
impl UnsafeUnpin for GoodsOwner
impl UnwindSafe for GoodsOwner
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