pub struct SentinelDeclaration {
pub rule: String,
pub source: String,
pub destination: String,
pub declares: String,
}Expand description
One sentinel: the rule, and the adopted specification that owns it.
Fields§
§rule: StringThe rule an instance’s specifications must define.
source: StringThe payload specification that carries it.
destination: StringWhere an instance holds that specification, templated.
declares: StringThe declaration it authorizes, for the note that names it.
Trait Implementations§
Source§impl Clone for SentinelDeclaration
impl Clone for SentinelDeclaration
Source§fn clone(&self) -> SentinelDeclaration
fn clone(&self) -> SentinelDeclaration
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 SentinelDeclaration
impl Debug for SentinelDeclaration
Source§impl<'de> Deserialize<'de> for SentinelDeclaration
impl<'de> Deserialize<'de> for SentinelDeclaration
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
impl Eq for SentinelDeclaration
Source§impl PartialEq for SentinelDeclaration
impl PartialEq for SentinelDeclaration
Source§impl Serialize for SentinelDeclaration
impl Serialize for SentinelDeclaration
impl StructuralPartialEq for SentinelDeclaration
Auto Trait Implementations§
impl Freeze for SentinelDeclaration
impl RefUnwindSafe for SentinelDeclaration
impl Send for SentinelDeclaration
impl Sync for SentinelDeclaration
impl Unpin for SentinelDeclaration
impl UnsafeUnpin for SentinelDeclaration
impl UnwindSafe for SentinelDeclaration
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.