#[non_exhaustive]pub struct CreateDataTaxonomyRequest {
pub parent: String,
pub data_taxonomy_id: String,
pub data_taxonomy: Option<DataTaxonomy>,
pub validate_only: bool,
/* private fields */
}๐Deprecated
Expand description
Create 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.parent: String๐Deprecated
ยงdata_taxonomy_id: String๐Deprecated
Required. DataTaxonomy identifier.
- Must contain only lowercase letters, numbers and hyphens.
- Must start with a letter.
- Must be between 1-63 characters.
- Must end with a number or a letter.
- Must be unique within the Project.
data_taxonomy: Option<DataTaxonomy>๐Deprecated
Required. DataTaxonomy resource.
validate_only: bool๐Deprecated
Optional. Only validate the request, but do not perform mutations. The default is false.
Implementationsยง
Sourceยงimpl CreateDataTaxonomyRequest
impl CreateDataTaxonomyRequest
pub fn new() -> Self
Sourcepub fn set_parent<T: Into<String>>(self, v: T) -> Self
pub fn set_parent<T: Into<String>>(self, v: T) -> Self
Sets the value of parent.
Sourcepub fn set_data_taxonomy_id<T: Into<String>>(self, v: T) -> Self
pub fn set_data_taxonomy_id<T: Into<String>>(self, v: T) -> Self
Sets the value of data_taxonomy_id.
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 CreateDataTaxonomyRequest
impl Clone for CreateDataTaxonomyRequest
Sourceยงfn clone(&self) -> CreateDataTaxonomyRequest
fn clone(&self) -> CreateDataTaxonomyRequest
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 CreateDataTaxonomyRequest
impl Debug for CreateDataTaxonomyRequest
Sourceยงimpl Default for CreateDataTaxonomyRequest
impl Default for CreateDataTaxonomyRequest
Sourceยงfn default() -> CreateDataTaxonomyRequest
fn default() -> CreateDataTaxonomyRequest
Returns the โdefault valueโ for a type. Read more
Sourceยงimpl Message for CreateDataTaxonomyRequest
impl Message for CreateDataTaxonomyRequest
Sourceยงimpl PartialEq for CreateDataTaxonomyRequest
impl PartialEq for CreateDataTaxonomyRequest
Sourceยงfn eq(&self, other: &CreateDataTaxonomyRequest) -> bool
fn eq(&self, other: &CreateDataTaxonomyRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CreateDataTaxonomyRequest
Auto Trait Implementationsยง
impl Freeze for CreateDataTaxonomyRequest
impl RefUnwindSafe for CreateDataTaxonomyRequest
impl Send for CreateDataTaxonomyRequest
impl Sync for CreateDataTaxonomyRequest
impl Unpin for CreateDataTaxonomyRequest
impl UnwindSafe for CreateDataTaxonomyRequest
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