pub struct StaticConstraint {
pub card_id: String,
pub constraintid: String,
pub nodes: Vec<String>,
pub uniquetoallinstances: bool,
}Expand description
A constraint on a card limiting how nodes can be used
Fields§
§card_id: String§constraintid: String§nodes: Vec<String>§uniquetoallinstances: boolTrait Implementations§
Source§impl Clone for StaticConstraint
impl Clone for StaticConstraint
Source§fn clone(&self) -> StaticConstraint
fn clone(&self) -> StaticConstraint
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 StaticConstraint
impl Debug for StaticConstraint
Source§impl<'de> Deserialize<'de> for StaticConstraint
impl<'de> Deserialize<'de> for StaticConstraint
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
Auto Trait Implementations§
impl Freeze for StaticConstraint
impl RefUnwindSafe for StaticConstraint
impl Send for StaticConstraint
impl Sync for StaticConstraint
impl Unpin for StaticConstraint
impl UnsafeUnpin for StaticConstraint
impl UnwindSafe for StaticConstraint
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