#[non_exhaustive]pub struct UpdateDataTaxonomyRequest {
pub update_mask: Option<FieldMask>,
pub data_taxonomy: Option<DataTaxonomy>,
pub validate_only: bool,
/* private fields */
}๐Deprecated
Expand description
Update DataTaxonomy request.
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.update_mask: Option<FieldMask>๐Deprecated
Required. Mask of fields to update.
data_taxonomy: Option<DataTaxonomy>๐Deprecated
Required. Only fields specified in update_mask are updated.
validate_only: bool๐Deprecated
Optional. Only validate the request, but do not perform mutations. The default is false.
Implementationsยง
Sourceยงimpl UpdateDataTaxonomyRequest
impl UpdateDataTaxonomyRequest
pub fn new() -> Self
Sourcepub fn set_update_mask<T>(self, v: T) -> Self
pub fn set_update_mask<T>(self, v: T) -> Self
Sets the value of update_mask.
Sourcepub fn set_or_clear_update_mask<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_update_mask<T>(self, v: Option<T>) -> Self
Sets or clears the value of update_mask.
Sourcepub fn set_data_taxonomy<T>(self, v: T) -> Selfwhere
T: Into<DataTaxonomy>,
pub fn set_data_taxonomy<T>(self, v: T) -> Selfwhere
T: Into<DataTaxonomy>,
Sets the value of data_taxonomy.
Sourcepub fn set_or_clear_data_taxonomy<T>(self, v: Option<T>) -> Selfwhere
T: Into<DataTaxonomy>,
pub fn set_or_clear_data_taxonomy<T>(self, v: Option<T>) -> Selfwhere
T: Into<DataTaxonomy>,
Sets or clears the value of data_taxonomy.
Sourcepub fn set_validate_only<T: Into<bool>>(self, v: T) -> Self
pub fn set_validate_only<T: Into<bool>>(self, v: T) -> Self
Sets the value of validate_only.
Trait Implementationsยง
Sourceยงimpl Clone for UpdateDataTaxonomyRequest
impl Clone for UpdateDataTaxonomyRequest
Sourceยงfn clone(&self) -> UpdateDataTaxonomyRequest
fn clone(&self) -> UpdateDataTaxonomyRequest
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 UpdateDataTaxonomyRequest
impl Debug for UpdateDataTaxonomyRequest
Sourceยงimpl Default for UpdateDataTaxonomyRequest
impl Default for UpdateDataTaxonomyRequest
Sourceยงfn default() -> UpdateDataTaxonomyRequest
fn default() -> UpdateDataTaxonomyRequest
Returns the โdefault valueโ for a type. Read more
Sourceยงimpl Message for UpdateDataTaxonomyRequest
impl Message for UpdateDataTaxonomyRequest
Sourceยงimpl PartialEq for UpdateDataTaxonomyRequest
impl PartialEq for UpdateDataTaxonomyRequest
Sourceยงfn eq(&self, other: &UpdateDataTaxonomyRequest) -> bool
fn eq(&self, other: &UpdateDataTaxonomyRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for UpdateDataTaxonomyRequest
Auto Trait Implementationsยง
impl Freeze for UpdateDataTaxonomyRequest
impl RefUnwindSafe for UpdateDataTaxonomyRequest
impl Send for UpdateDataTaxonomyRequest
impl Sync for UpdateDataTaxonomyRequest
impl Unpin for UpdateDataTaxonomyRequest
impl UnwindSafe for UpdateDataTaxonomyRequest
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