pub struct CategoryRow {
pub restaurant_id: String,
pub id: String,
pub name: String,
pub sort: i64,
pub raw: Option<Value>,
}Expand description
A menu category / department.
Fields§
§restaurant_id: String§id: String§name: String§sort: i64§raw: Option<Value>Trait Implementations§
Source§impl Clone for CategoryRow
impl Clone for CategoryRow
Source§fn clone(&self) -> CategoryRow
fn clone(&self) -> CategoryRow
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 CategoryRow
impl Debug for CategoryRow
Source§impl Default for CategoryRow
impl Default for CategoryRow
Source§fn default() -> CategoryRow
fn default() -> CategoryRow
Returns the “default value” for a type. Read more
Source§impl PartialEq for CategoryRow
impl PartialEq for CategoryRow
Source§impl Serialize for CategoryRow
impl Serialize for CategoryRow
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for CategoryRow
Auto Trait Implementations§
impl Forget for CategoryRow
impl Freeze for CategoryRow
impl RefUnwindSafe for CategoryRow
impl Send for CategoryRow
impl Sync for CategoryRow
impl Unpin for CategoryRow
impl UnsafeUnpin for CategoryRow
impl UnwindSafe for CategoryRow
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