#[non_exhaustive]pub struct DeleteVehicleRequest {
pub header: Option<RequestHeader>,
pub name: String,
/* private fields */
}Expand description
DeleteVehicle request message.
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.header: Option<RequestHeader>Optional. The standard Fleet Engine request header.
name: StringRequired. Must be in the format
providers/{provider}/vehicles/{vehicle}.
The {provider} must be the Project ID (for example, sample-cloud-project)
of the Google Cloud Project of which the service account making
this call is a member.
Implementations§
Source§impl DeleteVehicleRequest
impl DeleteVehicleRequest
Sourcepub fn set_header<T>(self, v: T) -> Selfwhere
T: Into<RequestHeader>,
pub fn set_header<T>(self, v: T) -> Selfwhere
T: Into<RequestHeader>,
Sourcepub fn set_or_clear_header<T>(self, v: Option<T>) -> Selfwhere
T: Into<RequestHeader>,
pub fn set_or_clear_header<T>(self, v: Option<T>) -> Selfwhere
T: Into<RequestHeader>,
Trait Implementations§
Source§impl Clone for DeleteVehicleRequest
impl Clone for DeleteVehicleRequest
Source§fn clone(&self) -> DeleteVehicleRequest
fn clone(&self) -> DeleteVehicleRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DeleteVehicleRequest
impl Debug for DeleteVehicleRequest
Source§impl Default for DeleteVehicleRequest
impl Default for DeleteVehicleRequest
Source§fn default() -> DeleteVehicleRequest
fn default() -> DeleteVehicleRequest
Returns the “default value” for a type. Read more
Source§impl Message for DeleteVehicleRequest
impl Message for DeleteVehicleRequest
Source§impl PartialEq for DeleteVehicleRequest
impl PartialEq for DeleteVehicleRequest
impl StructuralPartialEq for DeleteVehicleRequest
Auto Trait Implementations§
impl Freeze for DeleteVehicleRequest
impl RefUnwindSafe for DeleteVehicleRequest
impl Send for DeleteVehicleRequest
impl Sync for DeleteVehicleRequest
impl Unpin for DeleteVehicleRequest
impl UnsafeUnpin for DeleteVehicleRequest
impl UnwindSafe for DeleteVehicleRequest
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