pub struct LoadBalancerService {
pub protocol: String,
pub listen_port: u16,
pub destination_port: u16,
pub health_check_protocol: String,
pub health_check_port: u16,
pub health_check_path: String,
pub health_check_interval: u64,
pub health_check_timeout: u64,
pub health_check_retries: u64,
pub http_redirect_http_to_https: bool,
}Expand description
Load balancer service/port configuration
Fields§
§protocol: StringProtocol (http, https, tcp)
listen_port: u16Listen port (port on load balancer)
destination_port: u16Destination port (port on target servers)
health_check_protocol: StringHealth check protocol (http, https, tcp)
health_check_port: u16Health check port
health_check_path: StringHealth check path (for HTTP/HTTPS)
health_check_interval: u64Health check interval in seconds
health_check_timeout: u64Health check timeout in seconds
health_check_retries: u64Health check retries
http_redirect_http_to_https: boolEnable HTTP to HTTPS redirect (for HTTPS services)
Trait Implementations§
Source§impl Clone for LoadBalancerService
impl Clone for LoadBalancerService
Source§fn clone(&self) -> LoadBalancerService
fn clone(&self) -> LoadBalancerService
Returns a duplicate 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 LoadBalancerService
impl Debug for LoadBalancerService
Source§impl<'de> Deserialize<'de> for LoadBalancerService
impl<'de> Deserialize<'de> for LoadBalancerService
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 Serialize for LoadBalancerService
impl Serialize for LoadBalancerService
Source§impl Validate for LoadBalancerService
impl Validate for LoadBalancerService
Source§impl<'v_a> ValidateArgs<'v_a> for LoadBalancerService
impl<'v_a> ValidateArgs<'v_a> for LoadBalancerService
Auto Trait Implementations§
impl Freeze for LoadBalancerService
impl RefUnwindSafe for LoadBalancerService
impl Send for LoadBalancerService
impl Sync for LoadBalancerService
impl Unpin for LoadBalancerService
impl UnwindSafe for LoadBalancerService
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