pub struct MenuMerchant {
pub name: String,
pub merchant_type: Option<String>,
pub location: Option<Value>,
}Expand description
Merchant information for a menu.
Fields§
§name: StringMerchant name.
merchant_type: Option<String>Merchant type.
location: Option<Value>Merchant location (arbitrary shape).
Trait Implementations§
Source§impl Clone for MenuMerchant
impl Clone for MenuMerchant
Source§fn clone(&self) -> MenuMerchant
fn clone(&self) -> MenuMerchant
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 MenuMerchant
impl Debug for MenuMerchant
Source§impl Default for MenuMerchant
impl Default for MenuMerchant
Source§fn default() -> MenuMerchant
fn default() -> MenuMerchant
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MenuMerchant
impl<'de> Deserialize<'de> for MenuMerchant
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
Auto Trait Implementations§
impl Freeze for MenuMerchant
impl RefUnwindSafe for MenuMerchant
impl Send for MenuMerchant
impl Sync for MenuMerchant
impl Unpin for MenuMerchant
impl UnsafeUnpin for MenuMerchant
impl UnwindSafe for MenuMerchant
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