Enum bgpkit_parser::ParamValue
source · pub enum ParamValue {
Raw(Vec<u8, Global>),
Capability(Capability),
}
Variants§
Trait Implementations§
source§impl Clone for ParamValue
impl Clone for ParamValue
source§fn clone(&self) -> ParamValue
fn clone(&self) -> ParamValue
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 ParamValue
impl Debug for ParamValue
source§impl PartialEq<ParamValue> for ParamValue
impl PartialEq<ParamValue> for ParamValue
source§fn eq(&self, other: &ParamValue) -> bool
fn eq(&self, other: &ParamValue) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ParamValue
impl Serialize for ParamValue
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 ParamValue
impl StructuralEq for ParamValue
impl StructuralPartialEq for ParamValue
Auto Trait Implementations§
impl RefUnwindSafe for ParamValue
impl Send for ParamValue
impl Sync for ParamValue
impl Unpin for ParamValue
impl UnwindSafe for ParamValue
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.