pub struct AuthorityTargetEvaluation {
pub decision: AuthorityTargetDecision,
pub matched_allowlist_entry: Option<String>,
}Expand description
Outcome of one contract target evaluation, including the allowlist entry that matched when the decision was positive.
Fields§
§decision: AuthorityTargetDecision§matched_allowlist_entry: Option<String>Trait Implementations§
Source§impl Clone for AuthorityTargetEvaluation
impl Clone for AuthorityTargetEvaluation
Source§fn clone(&self) -> AuthorityTargetEvaluation
fn clone(&self) -> AuthorityTargetEvaluation
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 AuthorityTargetEvaluation
impl Debug for AuthorityTargetEvaluation
Source§impl<'de> Deserialize<'de> for AuthorityTargetEvaluation
impl<'de> Deserialize<'de> for AuthorityTargetEvaluation
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 AuthorityTargetEvaluation
impl PartialEq for AuthorityTargetEvaluation
Source§fn eq(&self, other: &AuthorityTargetEvaluation) -> bool
fn eq(&self, other: &AuthorityTargetEvaluation) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for AuthorityTargetEvaluation
impl StructuralPartialEq for AuthorityTargetEvaluation
Auto Trait Implementations§
impl Freeze for AuthorityTargetEvaluation
impl RefUnwindSafe for AuthorityTargetEvaluation
impl Send for AuthorityTargetEvaluation
impl Sync for AuthorityTargetEvaluation
impl Unpin for AuthorityTargetEvaluation
impl UnsafeUnpin for AuthorityTargetEvaluation
impl UnwindSafe for AuthorityTargetEvaluation
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,
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.