#[non_exhaustive]pub enum BinauthzMethod {
UseDefault(bool),
Policy(String),
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
UseDefault(bool)
Optional. If True, indicates to use the default project’s binary authorization policy. If False, binary authorization will be disabled.
Policy(String)
Optional. The path to a binary authorization policy.
Format: projects/{project}/platforms/cloudRun/{policy-name}
Trait Implementations§
Source§impl Clone for BinauthzMethod
impl Clone for BinauthzMethod
Source§fn clone(&self) -> BinauthzMethod
fn clone(&self) -> BinauthzMethod
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 BinauthzMethod
impl Debug for BinauthzMethod
Source§impl PartialEq for BinauthzMethod
impl PartialEq for BinauthzMethod
impl StructuralPartialEq for BinauthzMethod
Auto Trait Implementations§
impl Freeze for BinauthzMethod
impl RefUnwindSafe for BinauthzMethod
impl Send for BinauthzMethod
impl Sync for BinauthzMethod
impl Unpin for BinauthzMethod
impl UnwindSafe for BinauthzMethod
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