Enum bgp_models::bgp::attributes::Attribute[][src]

pub enum Attribute {
Show 13 variants Origin(Origin), AsPath(AsPath), NextHop(IpAddr), MultiExitDiscriminator(u32), LocalPreference(u32), AtomicAggregate(AtomicAggregate), Aggregator(AsnIpAddr), Communities(Vec<Community>), LargeCommunities(Vec<LargeCommunity>), OriginatorId(IpAddr), Clusters(Vec<IpAddr>), MpReachableNlri(Nlri), MpUnreachableNlri(Nlri),
}

Variants

Origin(Origin)

Tuple Fields of Origin

0: Origin
AsPath(AsPath)

Tuple Fields of AsPath

0: AsPath
NextHop(IpAddr)

Tuple Fields of NextHop

0: IpAddr
MultiExitDiscriminator(u32)

Tuple Fields of MultiExitDiscriminator

0: u32
LocalPreference(u32)

Tuple Fields of LocalPreference

0: u32
AtomicAggregate(AtomicAggregate)

Tuple Fields of AtomicAggregate

0: AtomicAggregate
Aggregator(AsnIpAddr)

Tuple Fields of Aggregator

0: Asn1: IpAddr
Communities(Vec<Community>)

Tuple Fields of Communities

0: Vec<Community>
LargeCommunities(Vec<LargeCommunity>)

Tuple Fields of LargeCommunities

0: Vec<LargeCommunity>
OriginatorId(IpAddr)

Tuple Fields of OriginatorId

0: IpAddr
Clusters(Vec<IpAddr>)

Tuple Fields of Clusters

0: Vec<IpAddr>
MpReachableNlri(Nlri)

Tuple Fields of MpReachableNlri

0: Nlri
MpUnreachableNlri(Nlri)

Tuple Fields of MpUnreachableNlri

0: Nlri

Trait Implementations

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.