#[non_exhaustive]pub struct DeleteConnectionRequest {
pub name: String,
pub etag: String,
pub validate_only: bool,
/* private fields */
}Expand description
Message for deleting a Connection.
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. The name of the Connection to delete.
Format: projects/*/locations/*/connections/*.
etag: StringThe current etag of the connection. If an etag is provided and does not match the current etag of the connection, deletion will be blocked and an ABORTED error will be returned.
validate_only: boolIf set, validate the request, but do not actually post it.
Implementations§
Trait Implementations§
Source§impl Clone for DeleteConnectionRequest
impl Clone for DeleteConnectionRequest
Source§fn clone(&self) -> DeleteConnectionRequest
fn clone(&self) -> DeleteConnectionRequest
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 DeleteConnectionRequest
impl Debug for DeleteConnectionRequest
Source§impl Default for DeleteConnectionRequest
impl Default for DeleteConnectionRequest
Source§fn default() -> DeleteConnectionRequest
fn default() -> DeleteConnectionRequest
Returns the “default value” for a type. Read more
Source§impl Message for DeleteConnectionRequest
impl Message for DeleteConnectionRequest
Source§impl PartialEq for DeleteConnectionRequest
impl PartialEq for DeleteConnectionRequest
impl StructuralPartialEq for DeleteConnectionRequest
Auto Trait Implementations§
impl Freeze for DeleteConnectionRequest
impl RefUnwindSafe for DeleteConnectionRequest
impl Send for DeleteConnectionRequest
impl Sync for DeleteConnectionRequest
impl Unpin for DeleteConnectionRequest
impl UnwindSafe for DeleteConnectionRequest
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