Struct relay_protocol::condition::LteCondition
source · pub struct LteCondition {
pub name: String,
pub value: Value,
}
Expand description
A condition that applies <=
.
Strings are explicitly not supported by this.
Fields§
§name: String
Path of the field that should match the value.
value: Value
The numeric value to check against.
Implementations§
Trait Implementations§
source§impl Clone for LteCondition
impl Clone for LteCondition
source§fn clone(&self) -> LteCondition
fn clone(&self) -> LteCondition
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 LteCondition
impl Debug for LteCondition
source§impl<'de> Deserialize<'de> for LteCondition
impl<'de> Deserialize<'de> for LteCondition
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 LteCondition
impl PartialEq for LteCondition
source§impl Serialize for LteCondition
impl Serialize for LteCondition
impl StructuralPartialEq for LteCondition
Auto Trait Implementations§
impl Freeze for LteCondition
impl RefUnwindSafe for LteCondition
impl Send for LteCondition
impl Sync for LteCondition
impl Unpin for LteCondition
impl UnwindSafe for LteCondition
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
)