#[non_exhaustive]pub struct UndeleteCustomClassRequest {
pub name: String,
pub validate_only: bool,
pub etag: String,
/* private fields */
}Expand description
Request message for the UndeleteCustomClass method.
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 CustomClass to undelete.
Format:
projects/{project}/locations/{location}/customClasses/{custom_class}
validate_only: boolIf set, validate the request and preview the undeleted CustomClass, but do not actually undelete it.
etag: StringThis checksum is computed by the server based on the value of other fields. This may be sent on update, undelete, and delete requests to ensure the client has an up-to-date value before proceeding.
Implementations§
Trait Implementations§
Source§impl Clone for UndeleteCustomClassRequest
impl Clone for UndeleteCustomClassRequest
Source§fn clone(&self) -> UndeleteCustomClassRequest
fn clone(&self) -> UndeleteCustomClassRequest
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 UndeleteCustomClassRequest
impl Debug for UndeleteCustomClassRequest
Source§impl Default for UndeleteCustomClassRequest
impl Default for UndeleteCustomClassRequest
Source§fn default() -> UndeleteCustomClassRequest
fn default() -> UndeleteCustomClassRequest
Returns the “default value” for a type. Read more
Source§impl Message for UndeleteCustomClassRequest
impl Message for UndeleteCustomClassRequest
impl StructuralPartialEq for UndeleteCustomClassRequest
Auto Trait Implementations§
impl Freeze for UndeleteCustomClassRequest
impl RefUnwindSafe for UndeleteCustomClassRequest
impl Send for UndeleteCustomClassRequest
impl Sync for UndeleteCustomClassRequest
impl Unpin for UndeleteCustomClassRequest
impl UnwindSafe for UndeleteCustomClassRequest
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