pub struct ImpactPattern {
pub base_type: Option<String>,
pub schema_location: Option<String>,
pub type_: Option<String>,
pub characteristic: Option<Vec<Characteristic>>,
pub description: Option<String>,
pub href: Option<String>,
pub id: Option<String>,
}Expand description
Define the patterns of impact (optional), such as other service characteristics- Used when defining impact through another pattern than the pre-defined attributes
Fields§
§base_type: Option<String>When sub-classing, this defines the super-class
schema_location: Option<String>A URI to a JSON-Schema file that defines additional attributes and relationships
type_: Option<String>When sub-classing, this defines the sub-class Extensible name
characteristic: Option<Vec<Characteristic>>A generic list of any type of elements. Used for extensions or loose element encapsulation from other namespaces
description: Option<String>Basic description of the impact pattern
href: Option<String>Hyperlink reference
id: Option<String>unique identifier
Trait Implementations§
Source§impl Clone for ImpactPattern
impl Clone for ImpactPattern
Source§fn clone(&self) -> ImpactPattern
fn clone(&self) -> ImpactPattern
Returns a duplicate of the value. Read more
1.0.0 · 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 ImpactPattern
impl Debug for ImpactPattern
Source§impl Default for ImpactPattern
impl Default for ImpactPattern
Source§fn default() -> ImpactPattern
fn default() -> ImpactPattern
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ImpactPattern
impl<'de> Deserialize<'de> for ImpactPattern
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 Display for ImpactPattern
impl Display for ImpactPattern
Auto Trait Implementations§
impl Freeze for ImpactPattern
impl RefUnwindSafe for ImpactPattern
impl Send for ImpactPattern
impl Sync for ImpactPattern
impl Unpin for ImpactPattern
impl UnsafeUnpin for ImpactPattern
impl UnwindSafe for ImpactPattern
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