Struct bgpkit_parser::OptParam
source · pub struct OptParam {
pub param_type: u8,
pub param_len: u16,
pub param_value: ParamValue,
}
Fields§
§param_type: u8
§param_len: u16
§param_value: ParamValue
Trait Implementations§
source§impl PartialEq<OptParam> for OptParam
impl PartialEq<OptParam> for OptParam
source§impl Serialize for OptParam
impl Serialize for OptParam
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where __S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Eq for OptParam
impl StructuralEq for OptParam
impl StructuralPartialEq for OptParam
Auto Trait Implementations§
impl RefUnwindSafe for OptParam
impl Send for OptParam
impl Sync for OptParam
impl Unpin for OptParam
impl UnwindSafe for OptParam
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.