pub struct KubernetesGatewayRouteProfile {
pub controller: Option<String>,
pub gateway_class_name: String,
pub listener_port: u16,
pub labels: HashMap<String, String>,
pub annotations: HashMap<String, String>,
pub provider: Option<KubernetesRouteProviderOptions>,
}Expand description
Shared Gateway API route profile values.
Fields§
§controller: Option<String>Route controller identifier, for example a cloud Gateway controller.
gateway_class_name: StringGatewayClass selected for generated Gateways.
listener_port: u16Listener port, usually 443.
labels: HashMap<String, String>Labels applied to route objects.
annotations: HashMap<String, String>Annotations applied to route objects.
provider: Option<KubernetesRouteProviderOptions>Provider-specific route options that are required by the selected class.
Trait Implementations§
Source§impl Clone for KubernetesGatewayRouteProfile
impl Clone for KubernetesGatewayRouteProfile
Source§fn clone(&self) -> KubernetesGatewayRouteProfile
fn clone(&self) -> KubernetesGatewayRouteProfile
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 Default for KubernetesGatewayRouteProfile
impl Default for KubernetesGatewayRouteProfile
Source§fn default() -> KubernetesGatewayRouteProfile
fn default() -> KubernetesGatewayRouteProfile
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for KubernetesGatewayRouteProfile
impl<'de> Deserialize<'de> for KubernetesGatewayRouteProfile
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
impl Eq for KubernetesGatewayRouteProfile
Source§impl PartialEq for KubernetesGatewayRouteProfile
impl PartialEq for KubernetesGatewayRouteProfile
Source§fn eq(&self, other: &KubernetesGatewayRouteProfile) -> bool
fn eq(&self, other: &KubernetesGatewayRouteProfile) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for KubernetesGatewayRouteProfile
Auto Trait Implementations§
impl Freeze for KubernetesGatewayRouteProfile
impl RefUnwindSafe for KubernetesGatewayRouteProfile
impl Send for KubernetesGatewayRouteProfile
impl Sync for KubernetesGatewayRouteProfile
impl Unpin for KubernetesGatewayRouteProfile
impl UnsafeUnpin for KubernetesGatewayRouteProfile
impl UnwindSafe for KubernetesGatewayRouteProfile
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.