pub struct ComponentSet {
pub key: String,
pub name: String,
pub description: String,
pub documentation_links: Option<Vec<DocumentationLink>>,
pub remote: Option<bool>,
}
Expand description
ComponentSet : A description of a component set, which is a node containing a set of variants of a component.
Fields§
§key: String
The key of the component set
name: String
Name of the component set
description: String
The description of the component set as entered in the editor
documentation_links: Option<Vec<DocumentationLink>>
An array of documentation links attached to this component set
remote: Option<bool>
Whether this component set is a remote component set that doesn’t live in this file
Implementations§
Source§impl ComponentSet
impl ComponentSet
Trait Implementations§
Source§impl Clone for ComponentSet
impl Clone for ComponentSet
Source§fn clone(&self) -> ComponentSet
fn clone(&self) -> ComponentSet
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 ComponentSet
impl Debug for ComponentSet
Source§impl Default for ComponentSet
impl Default for ComponentSet
Source§fn default() -> ComponentSet
fn default() -> ComponentSet
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ComponentSet
impl<'de> Deserialize<'de> for ComponentSet
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 ComponentSet
impl PartialEq for ComponentSet
Source§impl Serialize for ComponentSet
impl Serialize for ComponentSet
impl StructuralPartialEq for ComponentSet
Auto Trait Implementations§
impl Freeze for ComponentSet
impl RefUnwindSafe for ComponentSet
impl Send for ComponentSet
impl Sync for ComponentSet
impl Unpin for ComponentSet
impl UnwindSafe for ComponentSet
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