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