pub struct NodeControlValidation {
pub rules: Vec<NodeControlValidationRule>,
pub messages: Vec<String>,
}Expand description
Validation metadata for a node-local control.
Fields§
§rules: Vec<NodeControlValidationRule>§messages: Vec<String>Implementations§
Trait Implementations§
Source§impl Clone for NodeControlValidation
impl Clone for NodeControlValidation
Source§fn clone(&self) -> NodeControlValidation
fn clone(&self) -> NodeControlValidation
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 NodeControlValidation
impl Debug for NodeControlValidation
Source§impl Default for NodeControlValidation
impl Default for NodeControlValidation
Source§fn default() -> NodeControlValidation
fn default() -> NodeControlValidation
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NodeControlValidation
impl<'de> Deserialize<'de> for NodeControlValidation
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 NodeControlValidation
impl PartialEq for NodeControlValidation
Source§fn eq(&self, other: &NodeControlValidation) -> bool
fn eq(&self, other: &NodeControlValidation) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for NodeControlValidation
impl Serialize for NodeControlValidation
impl StructuralPartialEq for NodeControlValidation
Auto Trait Implementations§
impl Freeze for NodeControlValidation
impl RefUnwindSafe for NodeControlValidation
impl Send for NodeControlValidation
impl Sync for NodeControlValidation
impl Unpin for NodeControlValidation
impl UnsafeUnpin for NodeControlValidation
impl UnwindSafe for NodeControlValidation
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