#[non_exhaustive]pub struct DeleteTlsInspectionPolicyRequest {
pub name: String,
pub force: bool,
/* private fields */
}Expand description
Request used by the DeleteTlsInspectionPolicy method.
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.name: StringRequired. A name of the TlsInspectionPolicy to delete. Must be in the
format
projects/{project}/locations/{location}/tlsInspectionPolicies/{tls_inspection_policy}.
force: boolIf set to true, any rules for this TlsInspectionPolicy will also be deleted. (Otherwise, the request will only work if the TlsInspectionPolicy has no rules.)
Implementations§
Trait Implementations§
Source§impl Clone for DeleteTlsInspectionPolicyRequest
impl Clone for DeleteTlsInspectionPolicyRequest
Source§fn clone(&self) -> DeleteTlsInspectionPolicyRequest
fn clone(&self) -> DeleteTlsInspectionPolicyRequest
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 Default for DeleteTlsInspectionPolicyRequest
impl Default for DeleteTlsInspectionPolicyRequest
Source§fn default() -> DeleteTlsInspectionPolicyRequest
fn default() -> DeleteTlsInspectionPolicyRequest
Returns the “default value” for a type. Read more
Source§impl PartialEq for DeleteTlsInspectionPolicyRequest
impl PartialEq for DeleteTlsInspectionPolicyRequest
Source§fn eq(&self, other: &DeleteTlsInspectionPolicyRequest) -> bool
fn eq(&self, other: &DeleteTlsInspectionPolicyRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DeleteTlsInspectionPolicyRequest
Auto Trait Implementations§
impl Freeze for DeleteTlsInspectionPolicyRequest
impl RefUnwindSafe for DeleteTlsInspectionPolicyRequest
impl Send for DeleteTlsInspectionPolicyRequest
impl Sync for DeleteTlsInspectionPolicyRequest
impl Unpin for DeleteTlsInspectionPolicyRequest
impl UnsafeUnpin for DeleteTlsInspectionPolicyRequest
impl UnwindSafe for DeleteTlsInspectionPolicyRequest
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