pub struct GatewayService {Show 13 fields
pub gateway: ServiceName,
pub service: ServiceName,
pub gateway_kind: String,
pub port: Option<u16>,
pub protocol: Option<String>,
pub hosts: Option<Vec<String>>,
pub ca_file: Option<String>,
pub cert_file: Option<String>,
pub key_file: Option<String>,
pub sni: Option<String>,
pub from_wildcard: Option<bool>,
pub service_kind: Option<GatewayServiceKind>,
pub auto_host_rewrite: Option<bool>,
}
Expand description
GatewayService is used to associate gateways with their linked services.
Fields§
§gateway: ServiceName
§service: ServiceName
§gateway_kind: String
§port: Option<u16>
§protocol: Option<String>
§hosts: Option<Vec<String>>
§ca_file: Option<String>
§cert_file: Option<String>
§key_file: Option<String>
§sni: Option<String>
§from_wildcard: Option<bool>
§service_kind: Option<GatewayServiceKind>
§auto_host_rewrite: Option<bool>
Trait Implementations§
Source§impl Clone for GatewayService
impl Clone for GatewayService
Source§fn clone(&self) -> GatewayService
fn clone(&self) -> GatewayService
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 GatewayService
impl Debug for GatewayService
Source§impl Default for GatewayService
impl Default for GatewayService
Source§fn default() -> GatewayService
fn default() -> GatewayService
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GatewayService
impl<'de> Deserialize<'de> for GatewayService
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
Auto Trait Implementations§
impl Freeze for GatewayService
impl RefUnwindSafe for GatewayService
impl Send for GatewayService
impl Sync for GatewayService
impl Unpin for GatewayService
impl UnwindSafe for GatewayService
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