Struct openstack::network::PortForwarding
source · pub struct PortForwarding {
pub external_port: u16,
pub internal_ip_address: IpAddr,
pub internal_port: u16,
pub protocol: String,
}
Fields§
§external_port: u16
TCP or UDP port used by floating IP.
internal_ip_address: IpAddr
Fixed IP address of internal port.
internal_port: u16
TCP or UDP port used by internal port.
protocol: String
Network IP protocol.
Trait Implementations§
source§impl Clone for PortForwarding
impl Clone for PortForwarding
source§fn clone(&self) -> PortForwarding
fn clone(&self) -> PortForwarding
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 PortForwarding
impl Debug for PortForwarding
source§impl<'de> Deserialize<'de> for PortForwarding
impl<'de> Deserialize<'de> for PortForwarding
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<PortForwarding> for PortForwarding
impl PartialEq<PortForwarding> for PortForwarding
source§fn eq(&self, other: &PortForwarding) -> bool
fn eq(&self, other: &PortForwarding) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for PortForwarding
impl StructuralEq for PortForwarding
impl StructuralPartialEq for PortForwarding
Auto Trait Implementations§
impl RefUnwindSafe for PortForwarding
impl Send for PortForwarding
impl Sync for PortForwarding
impl Unpin for PortForwarding
impl UnwindSafe for PortForwarding
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.