pub struct LoadBalancerTargetIp {
pub ip: String,
}
Expand description
LoadBalancerTargetIp : IP targets where the traffic should be routed to. It is only possible to use the (Public or vSwitch) IPs of Hetzner Online Root Servers belonging to the project owner. IPs belonging to other users are blocked. Additionally IPs belonging to services provided by Hetzner Cloud (Servers, Load Balancers, …) are blocked as well. Only present for target type "ip".
Fields§
§ip: String
IP of a server that belongs to the same customer (public IPv4/IPv6) or private IP in a Subnetwork type vswitch.
Implementations§
source§impl LoadBalancerTargetIp
impl LoadBalancerTargetIp
sourcepub fn new(ip: String) -> LoadBalancerTargetIp
pub fn new(ip: String) -> LoadBalancerTargetIp
IP targets where the traffic should be routed to. It is only possible to use the (Public or vSwitch) IPs of Hetzner Online Root Servers belonging to the project owner. IPs belonging to other users are blocked. Additionally IPs belonging to services provided by Hetzner Cloud (Servers, Load Balancers, …) are blocked as well. Only present for target type "ip".
Trait Implementations§
source§impl Clone for LoadBalancerTargetIp
impl Clone for LoadBalancerTargetIp
source§fn clone(&self) -> LoadBalancerTargetIp
fn clone(&self) -> LoadBalancerTargetIp
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for LoadBalancerTargetIp
impl Debug for LoadBalancerTargetIp
source§impl Default for LoadBalancerTargetIp
impl Default for LoadBalancerTargetIp
source§fn default() -> LoadBalancerTargetIp
fn default() -> LoadBalancerTargetIp
source§impl<'de> Deserialize<'de> for LoadBalancerTargetIp
impl<'de> Deserialize<'de> for LoadBalancerTargetIp
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>,
source§impl PartialEq for LoadBalancerTargetIp
impl PartialEq for LoadBalancerTargetIp
source§fn eq(&self, other: &LoadBalancerTargetIp) -> bool
fn eq(&self, other: &LoadBalancerTargetIp) -> bool
self
and other
values to be equal, and is used
by ==
.