#[non_exhaustive]pub struct CloudRunConfig {
pub disabled: bool,
pub load_balancer_type: LoadBalancerType,
}Expand description
Configuration options for the Cloud Run feature.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.disabled: boolWhether Cloud Run addon is enabled for this cluster.
load_balancer_type: LoadBalancerTypeWhich load balancer type is installed for Cloud Run.
Implementations§
Source§impl CloudRunConfig
impl CloudRunConfig
Sourcepub fn set_disabled<T: Into<bool>>(self, v: T) -> Self
pub fn set_disabled<T: Into<bool>>(self, v: T) -> Self
Sets the value of disabled.
Sourcepub fn set_load_balancer_type<T: Into<LoadBalancerType>>(self, v: T) -> Self
pub fn set_load_balancer_type<T: Into<LoadBalancerType>>(self, v: T) -> Self
Sets the value of load_balancer_type.
Trait Implementations§
Source§impl Clone for CloudRunConfig
impl Clone for CloudRunConfig
Source§fn clone(&self) -> CloudRunConfig
fn clone(&self) -> CloudRunConfig
Returns a copy 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 CloudRunConfig
impl Debug for CloudRunConfig
Source§impl Default for CloudRunConfig
impl Default for CloudRunConfig
Source§fn default() -> CloudRunConfig
fn default() -> CloudRunConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CloudRunConfigwhere
CloudRunConfig: Default,
impl<'de> Deserialize<'de> for CloudRunConfigwhere
CloudRunConfig: Default,
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 Message for CloudRunConfig
impl Message for CloudRunConfig
Source§impl PartialEq for CloudRunConfig
impl PartialEq for CloudRunConfig
Source§impl Serialize for CloudRunConfig
impl Serialize for CloudRunConfig
impl StructuralPartialEq for CloudRunConfig
Auto Trait Implementations§
impl Freeze for CloudRunConfig
impl RefUnwindSafe for CloudRunConfig
impl Send for CloudRunConfig
impl Sync for CloudRunConfig
impl Unpin for CloudRunConfig
impl UnwindSafe for CloudRunConfig
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