Struct relay_protocol::condition::NotCondition
source · pub struct NotCondition {
pub inner: Box<RuleCondition>,
}
Expand description
Applies logical NOT to a condition.
This condition matches if the inner condition does not match.
Fields§
§inner: Box<RuleCondition>
An inner rule to negate.
Trait Implementations§
source§impl Clone for NotCondition
impl Clone for NotCondition
source§fn clone(&self) -> NotCondition
fn clone(&self) -> NotCondition
Returns a copy of the value. Read more
1.0.0 · 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 NotCondition
impl Debug for NotCondition
source§impl<'de> Deserialize<'de> for NotCondition
impl<'de> Deserialize<'de> for NotCondition
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 NotCondition
impl PartialEq for NotCondition
source§impl Serialize for NotCondition
impl Serialize for NotCondition
impl StructuralPartialEq for NotCondition
Auto Trait Implementations§
impl Freeze for NotCondition
impl RefUnwindSafe for NotCondition
impl Send for NotCondition
impl Sync for NotCondition
impl Unpin for NotCondition
impl UnwindSafe for NotCondition
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)