Struct gns3::GNS3LinkEndpoint[][src]

pub struct GNS3LinkEndpoint {
    pub node_id: String,
    pub adapter_number: u32,
    pub port_number: u32,
}

Endpoint of a link

Fields

node_id: String

ID of the node for which the link is configured

adapter_number: u32

adapter number

port_number: u32

port number

Implementations

impl GNS3LinkEndpoint[src]

pub fn from_node(node: &GNS3Node, iface_id: usize) -> Self[src]

Create a link endpoint from a node, and the index of the link.

Trait Implementations

impl Clone for GNS3LinkEndpoint[src]

impl Debug for GNS3LinkEndpoint[src]

impl<'de> Deserialize<'de> for GNS3LinkEndpoint[src]

impl Display for GNS3LinkEndpoint[src]

impl PartialEq<GNS3LinkEndpoint> for GNS3LinkEndpoint[src]

impl StructuralPartialEq for GNS3LinkEndpoint[src]

Auto Trait Implementations

impl RefUnwindSafe for GNS3LinkEndpoint[src]

impl Send for GNS3LinkEndpoint[src]

impl Sync for GNS3LinkEndpoint[src]

impl Unpin for GNS3LinkEndpoint[src]

impl UnwindSafe for GNS3LinkEndpoint[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> WithSubscriber for T[src]