Struct openstack::network::Port

source ·
pub struct Port { /* private fields */ }
Expand description

Structure representing a port - a virtual NIC.

Implementations

The administrative state of the port.

Update the administrative state.

Update the administrative state.

Whether the device_owner is a Compute server.

Creation data and time (if available).

Port description.

Update the description.

Update the description.

ID of object (server, router, etc) to which this port is attached.

Update the device ID.

Update the device ID.

Type of object to which this port is attached.

Update the device owner.

Update the device owner.

DNS domain for the port (if available).

Update the DNS domain.

Update the DNS domain.

DNS name for the port (if available).

Update the DNS name.

Update the DNS name.

DHCP options configured for this port.

Mutable access to DHCP options.

Update the DHCP options.

Update the DHCP options.

Fixed IP addresses of the port.

MAC address of the port.

Update the MAC address (admin-only).

Update the MAC address (admin-only).

Unique ID.

Port name.

Update the port name.

Update the port name.

Get network associated with this port.

ID of the network this port belongs to.

Port status.

Last update data and time (if available).

Delete the port.

Whether the port is modified.

Save the changes to the port.

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Converts to this type from the input type.

Refresh the port.

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
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.