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