Enum googapis::google::devtools::cloudbuild::v1::webhook_config::AuthMethod [−][src]
pub enum AuthMethod {
Secret(String),
}
Expand description
Auth method specifies how the webhook authenticates with GCP.
Variants
Secret(String)
Required. Resource name for the secret required as a URL parameter.
Tuple Fields of Secret
0: String
Implementations
pub fn merge<B>(
field: &mut Option<AuthMethod>,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext
) -> Result<(), DecodeError> where
B: Buf,
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for AuthMethod
impl Send for AuthMethod
impl Sync for AuthMethod
impl Unpin for AuthMethod
impl UnwindSafe for AuthMethod
Blanket Implementations
Mutably borrows from an owned value. Read more
Wrap the input message T
in a tonic::Request
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more