Struct relay_protocol::condition::AndCondition
source · pub struct AndCondition {
pub inner: Vec<RuleCondition>,
}
Expand description
Combines multiple conditions using logical AND.
This condition matches if all of the inner conditions match. The default value for this
condition is true
, that is, this rule matches if there are no inner conditions.
See RuleCondition::and
.
Fields§
§inner: Vec<RuleCondition>
Inner rules to combine.
Trait Implementations§
source§impl Clone for AndCondition
impl Clone for AndCondition
source§fn clone(&self) -> AndCondition
fn clone(&self) -> AndCondition
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 AndCondition
impl Debug for AndCondition
source§impl<'de> Deserialize<'de> for AndCondition
impl<'de> Deserialize<'de> for AndCondition
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 AndCondition
impl PartialEq for AndCondition
source§impl Serialize for AndCondition
impl Serialize for AndCondition
impl StructuralPartialEq for AndCondition
Auto Trait Implementations§
impl Freeze for AndCondition
impl RefUnwindSafe for AndCondition
impl Send for AndCondition
impl Sync for AndCondition
impl Unpin for AndCondition
impl UnwindSafe for AndCondition
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
)