Struct google_container1::api::BinaryAuthorization
source · pub struct BinaryAuthorization {
pub enabled: Option<bool>,
pub evaluation_mode: Option<String>,
}
Expand description
Configuration for Binary Authorization.
This type is not used in any activity, and only used as part of another schema.
Fields§
§enabled: Option<bool>
This field is deprecated. Leave this unset and instead configure BinaryAuthorization using evaluation_mode. If evaluation_mode is set to anything other than EVALUATION_MODE_UNSPECIFIED, this field is ignored.
evaluation_mode: Option<String>
Mode of operation for binauthz policy evaluation. If unspecified, defaults to DISABLED.
Trait Implementations§
source§impl Clone for BinaryAuthorization
impl Clone for BinaryAuthorization
source§fn clone(&self) -> BinaryAuthorization
fn clone(&self) -> BinaryAuthorization
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 BinaryAuthorization
impl Debug for BinaryAuthorization
source§impl Default for BinaryAuthorization
impl Default for BinaryAuthorization
source§fn default() -> BinaryAuthorization
fn default() -> BinaryAuthorization
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for BinaryAuthorization
impl<'de> Deserialize<'de> for BinaryAuthorization
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 BinaryAuthorization
impl Serialize for BinaryAuthorization
impl Part for BinaryAuthorization
Auto Trait Implementations§
impl RefUnwindSafe for BinaryAuthorization
impl Send for BinaryAuthorization
impl Sync for BinaryAuthorization
impl Unpin for BinaryAuthorization
impl UnwindSafe for BinaryAuthorization
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