#[non_exhaustive]pub struct DeleteRepositoryRequest {
pub name: String,
pub etag: String,
pub validate_only: bool,
/* private fields */
}Expand description
Message for deleting a Repository.
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 Repository to delete.
Format: projects/*/locations/*/connections/*/repositories/*.
etag: StringThe current etag of the repository. If an etag is provided and does not match the current etag of the repository, 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 DeleteRepositoryRequest
impl Clone for DeleteRepositoryRequest
Source§fn clone(&self) -> DeleteRepositoryRequest
fn clone(&self) -> DeleteRepositoryRequest
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 DeleteRepositoryRequest
impl Debug for DeleteRepositoryRequest
Source§impl Default for DeleteRepositoryRequest
impl Default for DeleteRepositoryRequest
Source§fn default() -> DeleteRepositoryRequest
fn default() -> DeleteRepositoryRequest
Returns the “default value” for a type. Read more
Source§impl Message for DeleteRepositoryRequest
impl Message for DeleteRepositoryRequest
Source§impl PartialEq for DeleteRepositoryRequest
impl PartialEq for DeleteRepositoryRequest
impl StructuralPartialEq for DeleteRepositoryRequest
Auto Trait Implementations§
impl Freeze for DeleteRepositoryRequest
impl RefUnwindSafe for DeleteRepositoryRequest
impl Send for DeleteRepositoryRequest
impl Sync for DeleteRepositoryRequest
impl Unpin for DeleteRepositoryRequest
impl UnwindSafe for DeleteRepositoryRequest
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