Struct zettabgp::afi::flowspec::FSOperMaskItem
source · pub struct FSOperMaskItem {
pub and_bit: bool,
pub bit_not: bool,
pub bit_match: bool,
pub value: u32,
}
Fields§
§and_bit: bool
§bit_not: bool
§bit_match: bool
§value: u32
Implementations§
Trait Implementations§
source§impl Clone for FSOperMaskItem
impl Clone for FSOperMaskItem
source§fn clone(&self) -> FSOperMaskItem
fn clone(&self) -> FSOperMaskItem
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 FSOperMaskItem
impl Debug for FSOperMaskItem
source§impl<'de> Deserialize<'de> for FSOperMaskItem
impl<'de> Deserialize<'de> for FSOperMaskItem
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 Display for FSOperMaskItem
impl Display for FSOperMaskItem
source§impl FSOperItem for FSOperMaskItem
impl FSOperItem for FSOperMaskItem
source§impl Hash for FSOperMaskItem
impl Hash for FSOperMaskItem
source§impl Ord for FSOperMaskItem
impl Ord for FSOperMaskItem
source§fn cmp(&self, other: &FSOperMaskItem) -> Ordering
fn cmp(&self, other: &FSOperMaskItem) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for FSOperMaskItem
impl PartialEq for FSOperMaskItem
source§fn eq(&self, other: &FSOperMaskItem) -> bool
fn eq(&self, other: &FSOperMaskItem) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for FSOperMaskItem
impl PartialOrd for FSOperMaskItem
source§fn partial_cmp(&self, other: &FSOperMaskItem) -> Option<Ordering>
fn partial_cmp(&self, other: &FSOperMaskItem) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for FSOperMaskItem
impl Serialize for FSOperMaskItem
impl Eq for FSOperMaskItem
impl StructuralEq for FSOperMaskItem
impl StructuralPartialEq for FSOperMaskItem
Auto Trait Implementations§
impl RefUnwindSafe for FSOperMaskItem
impl Send for FSOperMaskItem
impl Sync for FSOperMaskItem
impl Unpin for FSOperMaskItem
impl UnwindSafe for FSOperMaskItem
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