pub struct NetworkPathComponent {
pub component_id: Option<String>,
pub component_type: Option<String>,
pub egress: Option<NetworkHeader>,
pub ingress: Option<NetworkHeader>,
}
Expand description
Information about a network path component.
Fields§
§component_id: Option<String>
The identifier of a component in the network path.
component_type: Option<String>
The type of component.
egress: Option<NetworkHeader>
Information about the component that comes after the current component in the network path.
ingress: Option<NetworkHeader>
Information about the component that comes before the current node in the network path.
Trait Implementations§
Source§impl Clone for NetworkPathComponent
impl Clone for NetworkPathComponent
Source§fn clone(&self) -> NetworkPathComponent
fn clone(&self) -> NetworkPathComponent
Returns a duplicate 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 NetworkPathComponent
impl Debug for NetworkPathComponent
Source§impl Default for NetworkPathComponent
impl Default for NetworkPathComponent
Source§fn default() -> NetworkPathComponent
fn default() -> NetworkPathComponent
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NetworkPathComponent
impl<'de> Deserialize<'de> for NetworkPathComponent
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 NetworkPathComponent
impl PartialEq for NetworkPathComponent
Source§impl Serialize for NetworkPathComponent
impl Serialize for NetworkPathComponent
impl StructuralPartialEq for NetworkPathComponent
Auto Trait Implementations§
impl Freeze for NetworkPathComponent
impl RefUnwindSafe for NetworkPathComponent
impl Send for NetworkPathComponent
impl Sync for NetworkPathComponent
impl Unpin for NetworkPathComponent
impl UnwindSafe for NetworkPathComponent
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