pub struct UpdateLoadBalancerService {
pub destination_port: Option<i32>,
pub health_check: Option<Box<UpdateLoadBalancerServiceHealthCheck>>,
pub http: Option<Box<Http>>,
pub listen_port: i32,
pub protocol: Option<Protocol>,
pub proxyprotocol: Option<bool>,
}Expand description
UpdateLoadBalancerService : An update to a service for a Load Balancer.
Fields§
§destination_port: Option<i32>Port the Load Balancer will balance to.
health_check: Option<Box<UpdateLoadBalancerServiceHealthCheck>>§http: Option<Box<Http>>§listen_port: i32Port the Load Balancer listens on.
protocol: Option<Protocol>Protocol of the Load Balancer.
proxyprotocol: Option<bool>Is Proxyprotocol enabled or not.
Implementations§
Source§impl UpdateLoadBalancerService
impl UpdateLoadBalancerService
Sourcepub fn new(listen_port: i32) -> UpdateLoadBalancerService
pub fn new(listen_port: i32) -> UpdateLoadBalancerService
An update to a service for a Load Balancer.
Trait Implementations§
Source§impl Clone for UpdateLoadBalancerService
impl Clone for UpdateLoadBalancerService
Source§fn clone(&self) -> UpdateLoadBalancerService
fn clone(&self) -> UpdateLoadBalancerService
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 UpdateLoadBalancerService
impl Debug for UpdateLoadBalancerService
Source§impl Default for UpdateLoadBalancerService
impl Default for UpdateLoadBalancerService
Source§fn default() -> UpdateLoadBalancerService
fn default() -> UpdateLoadBalancerService
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UpdateLoadBalancerService
impl<'de> Deserialize<'de> for UpdateLoadBalancerService
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 UpdateLoadBalancerService
impl PartialEq for UpdateLoadBalancerService
Source§fn eq(&self, other: &UpdateLoadBalancerService) -> bool
fn eq(&self, other: &UpdateLoadBalancerService) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for UpdateLoadBalancerService
Auto Trait Implementations§
impl Freeze for UpdateLoadBalancerService
impl RefUnwindSafe for UpdateLoadBalancerService
impl Send for UpdateLoadBalancerService
impl Sync for UpdateLoadBalancerService
impl Unpin for UpdateLoadBalancerService
impl UnsafeUnpin for UpdateLoadBalancerService
impl UnwindSafe for UpdateLoadBalancerService
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