pub struct ProductAppearance {
pub finish: ProductFinish,
pub primary_color: Option<u8>,
}Expand description
ProductAppearanceStruct (§11.1.4.3) — “a description of the product’s appearance”.
Fields§
§finish: ProductFinishFinish [0] — “the visible finish of the product”.
primary_color: Option<u8>PrimaryColor [1] — a ColorEnum, nullable: “If the product has no representative
color, the field SHALL be null.”
Trait Implementations§
Source§impl Clone for ProductAppearance
impl Clone for ProductAppearance
Source§fn clone(&self) -> ProductAppearance
fn clone(&self) -> ProductAppearance
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 moreimpl Copy for ProductAppearance
Source§impl Debug for ProductAppearance
impl Debug for ProductAppearance
impl Eq for ProductAppearance
Source§impl PartialEq for ProductAppearance
impl PartialEq for ProductAppearance
impl StructuralPartialEq for ProductAppearance
Auto Trait Implementations§
impl Freeze for ProductAppearance
impl RefUnwindSafe for ProductAppearance
impl Send for ProductAppearance
impl Sync for ProductAppearance
impl Unpin for ProductAppearance
impl UnsafeUnpin for ProductAppearance
impl UnwindSafe for ProductAppearance
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