#[non_exhaustive]pub struct UndeleteRecognizerRequest {
pub name: String,
pub validate_only: bool,
pub etag: String,
/* private fields */
}Expand description
Request message for the UndeleteRecognizer 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 Recognizer to undelete.
Format: projects/{project}/locations/{location}/recognizers/{recognizer}
validate_only: boolIf set, validate the request and preview the undeleted Recognizer, 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 UndeleteRecognizerRequest
impl Clone for UndeleteRecognizerRequest
Source§fn clone(&self) -> UndeleteRecognizerRequest
fn clone(&self) -> UndeleteRecognizerRequest
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 UndeleteRecognizerRequest
impl Debug for UndeleteRecognizerRequest
Source§impl Default for UndeleteRecognizerRequest
impl Default for UndeleteRecognizerRequest
Source§fn default() -> UndeleteRecognizerRequest
fn default() -> UndeleteRecognizerRequest
Returns the “default value” for a type. Read more
Source§impl Message for UndeleteRecognizerRequest
impl Message for UndeleteRecognizerRequest
impl StructuralPartialEq for UndeleteRecognizerRequest
Auto Trait Implementations§
impl Freeze for UndeleteRecognizerRequest
impl RefUnwindSafe for UndeleteRecognizerRequest
impl Send for UndeleteRecognizerRequest
impl Sync for UndeleteRecognizerRequest
impl Unpin for UndeleteRecognizerRequest
impl UnwindSafe for UndeleteRecognizerRequest
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