pub struct ProductDefinitionShape {
pub name: String,
pub description: Option<String>,
pub definition: CharacterizedDefinitionRef,
}Fields§
§name: String§description: Option<String>§definition: CharacterizedDefinitionRefTrait Implementations§
Source§impl Clone for ProductDefinitionShape
impl Clone for ProductDefinitionShape
Source§fn clone(&self) -> ProductDefinitionShape
fn clone(&self) -> ProductDefinitionShape
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 ProductDefinitionShape
impl Debug for ProductDefinitionShape
Source§impl PartialEq for ProductDefinitionShape
impl PartialEq for ProductDefinitionShape
Source§fn eq(&self, other: &ProductDefinitionShape) -> bool
fn eq(&self, other: &ProductDefinitionShape) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ProductDefinitionShape
Auto Trait Implementations§
impl Freeze for ProductDefinitionShape
impl RefUnwindSafe for ProductDefinitionShape
impl Send for ProductDefinitionShape
impl Sync for ProductDefinitionShape
impl Unpin for ProductDefinitionShape
impl UnsafeUnpin for ProductDefinitionShape
impl UnwindSafe for ProductDefinitionShape
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