#[non_exhaustive]pub struct DeleteServiceRequest {
pub name: String,
pub validate_only: bool,
pub etag: String,
/* private fields */
}Expand description
Request message to delete a Service by its full name.
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 full name of the Service. Format: projects/{project}/locations/{location}/services/{service}, where {project} can be project id or number.
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. May be used to detect modification conflict during updates.
Implementations§
Trait Implementations§
Source§impl Clone for DeleteServiceRequest
impl Clone for DeleteServiceRequest
Source§fn clone(&self) -> DeleteServiceRequest
fn clone(&self) -> DeleteServiceRequest
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 DeleteServiceRequest
impl Debug for DeleteServiceRequest
Source§impl Default for DeleteServiceRequest
impl Default for DeleteServiceRequest
Source§fn default() -> DeleteServiceRequest
fn default() -> DeleteServiceRequest
Returns the “default value” for a type. Read more
Source§impl Message for DeleteServiceRequest
impl Message for DeleteServiceRequest
Source§impl PartialEq for DeleteServiceRequest
impl PartialEq for DeleteServiceRequest
impl StructuralPartialEq for DeleteServiceRequest
Auto Trait Implementations§
impl Freeze for DeleteServiceRequest
impl RefUnwindSafe for DeleteServiceRequest
impl Send for DeleteServiceRequest
impl Sync for DeleteServiceRequest
impl Unpin for DeleteServiceRequest
impl UnwindSafe for DeleteServiceRequest
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