pub struct StaticCard {Show 18 fields
pub active: bool,
pub cardid: String,
pub component_id: String,
pub config: Option<Value>,
pub constraints: Vec<StaticConstraint>,
pub cssclass: Option<String>,
pub description: Option<StaticTranslatableString>,
pub graph_id: String,
pub helpenabled: bool,
pub helptext: StaticTranslatableString,
pub helptitle: StaticTranslatableString,
pub instructions: StaticTranslatableString,
pub is_editable: Option<bool>,
pub name: StaticTranslatableString,
pub nodegroup_id: String,
pub sortorder: Option<i32>,
pub visible: bool,
pub source_identifier_id: Option<String>,
}Expand description
A card defining UI and validation for a nodegroup
Fields§
§active: bool§cardid: String§component_id: String§config: Option<Value>§constraints: Vec<StaticConstraint>§cssclass: Option<String>§description: Option<StaticTranslatableString>§graph_id: String§helpenabled: bool§helptext: StaticTranslatableString§helptitle: StaticTranslatableString§instructions: StaticTranslatableString§is_editable: Option<bool>§name: StaticTranslatableString§nodegroup_id: String§sortorder: Option<i32>§visible: bool§source_identifier_id: Option<String>Source identifier for import/export tracking
Trait Implementations§
Source§impl Clone for StaticCard
impl Clone for StaticCard
Source§fn clone(&self) -> StaticCard
fn clone(&self) -> StaticCard
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 StaticCard
impl Debug for StaticCard
Source§impl<'de> Deserialize<'de> for StaticCard
impl<'de> Deserialize<'de> for StaticCard
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 From<&StaticCard> for CardRef
impl From<&StaticCard> for CardRef
Source§fn from(card: &StaticCard) -> Self
fn from(card: &StaticCard) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for StaticCard
impl RefUnwindSafe for StaticCard
impl Send for StaticCard
impl Sync for StaticCard
impl Unpin for StaticCard
impl UnsafeUnpin for StaticCard
impl UnwindSafe for StaticCard
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