pub struct ProductSummary {
pub id: String,
pub description: String,
pub code: String,
}Expand description
ProductSummary : Summary of the booking’s underlining products.
Fields§
§id: String§description: String§code: StringImplementations§
Trait Implementations§
Source§impl Clone for ProductSummary
impl Clone for ProductSummary
Source§fn clone(&self) -> ProductSummary
fn clone(&self) -> ProductSummary
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 ProductSummary
impl Debug for ProductSummary
Source§impl Default for ProductSummary
impl Default for ProductSummary
Source§fn default() -> ProductSummary
fn default() -> ProductSummary
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ProductSummary
impl<'de> Deserialize<'de> for ProductSummary
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 ProductSummary
impl PartialEq for ProductSummary
Source§fn eq(&self, other: &ProductSummary) -> bool
fn eq(&self, other: &ProductSummary) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ProductSummary
impl Serialize for ProductSummary
impl StructuralPartialEq for ProductSummary
Auto Trait Implementations§
impl Freeze for ProductSummary
impl RefUnwindSafe for ProductSummary
impl Send for ProductSummary
impl Sync for ProductSummary
impl Unpin for ProductSummary
impl UnsafeUnpin for ProductSummary
impl UnwindSafe for ProductSummary
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