#[non_exhaustive]pub struct DeleteRevisionRequest {
pub name: String,
pub validate_only: bool,
pub etag: String,
/* private fields */
}Expand description
Request message for deleting a retired Revision. Revision lifecycle is usually managed by making changes to the parent Service. Only retired revisions can be deleted with this API.
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 Revision to delete. Format: projects/{project}/locations/{location}/services/{service}/revisions/{revision}
validate_only: boolIndicates that the request should be validated without actually deleting any resources.
etag: StringA system-generated fingerprint for this version of the resource. This may be used to detect modification conflict during updates.
Implementations§
Trait Implementations§
Source§impl Clone for DeleteRevisionRequest
impl Clone for DeleteRevisionRequest
Source§fn clone(&self) -> DeleteRevisionRequest
fn clone(&self) -> DeleteRevisionRequest
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 DeleteRevisionRequest
impl Debug for DeleteRevisionRequest
Source§impl Default for DeleteRevisionRequest
impl Default for DeleteRevisionRequest
Source§fn default() -> DeleteRevisionRequest
fn default() -> DeleteRevisionRequest
Returns the “default value” for a type. Read more
Source§impl Message for DeleteRevisionRequest
impl Message for DeleteRevisionRequest
Source§impl PartialEq for DeleteRevisionRequest
impl PartialEq for DeleteRevisionRequest
impl StructuralPartialEq for DeleteRevisionRequest
Auto Trait Implementations§
impl Freeze for DeleteRevisionRequest
impl RefUnwindSafe for DeleteRevisionRequest
impl Send for DeleteRevisionRequest
impl Sync for DeleteRevisionRequest
impl Unpin for DeleteRevisionRequest
impl UnwindSafe for DeleteRevisionRequest
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