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