Struct google_container1::SetNetworkPolicyRequest [−][src]
pub struct SetNetworkPolicyRequest {
pub network_policy: Option<NetworkPolicy>,
}SetNetworkPolicyRequest enables/disables network policy for a cluster.
Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
Fields
network_policy: Option<NetworkPolicy>
Configuration options for the NetworkPolicy feature.
Trait Implementations
impl Default for SetNetworkPolicyRequest[src]
impl Default for SetNetworkPolicyRequestfn default() -> SetNetworkPolicyRequest[src]
fn default() -> SetNetworkPolicyRequestReturns the "default value" for a type. Read more
impl Clone for SetNetworkPolicyRequest[src]
impl Clone for SetNetworkPolicyRequestfn clone(&self) -> SetNetworkPolicyRequest[src]
fn clone(&self) -> SetNetworkPolicyRequestReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Debug for SetNetworkPolicyRequest[src]
impl Debug for SetNetworkPolicyRequestfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl RequestValue for SetNetworkPolicyRequest[src]
impl RequestValue for SetNetworkPolicyRequestAuto Trait Implementations
impl Send for SetNetworkPolicyRequest
impl Send for SetNetworkPolicyRequestimpl Sync for SetNetworkPolicyRequest
impl Sync for SetNetworkPolicyRequest