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