#[non_exhaustive]pub struct RemoveCatalogAttributeRequest {
pub attributes_config: String,
pub key: String,
/* private fields */
}Expand description
Request for CatalogService.RemoveCatalogAttribute 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.attributes_config: StringRequired. Full AttributesConfig resource name. Format:
projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/attributesConfig
key: StringRequired. The attribute name key of the CatalogAttribute to remove.
Implementations§
Source§impl RemoveCatalogAttributeRequest
impl RemoveCatalogAttributeRequest
Sourcepub fn set_attributes_config<T: Into<String>>(self, v: T) -> Self
pub fn set_attributes_config<T: Into<String>>(self, v: T) -> Self
Sets the value of attributes_config.
§Example
ⓘ
let x = RemoveCatalogAttributeRequest::new().set_attributes_config("example");Trait Implementations§
Source§impl Clone for RemoveCatalogAttributeRequest
impl Clone for RemoveCatalogAttributeRequest
Source§fn clone(&self) -> RemoveCatalogAttributeRequest
fn clone(&self) -> RemoveCatalogAttributeRequest
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 Default for RemoveCatalogAttributeRequest
impl Default for RemoveCatalogAttributeRequest
Source§fn default() -> RemoveCatalogAttributeRequest
fn default() -> RemoveCatalogAttributeRequest
Returns the “default value” for a type. Read more
Source§impl PartialEq for RemoveCatalogAttributeRequest
impl PartialEq for RemoveCatalogAttributeRequest
Source§fn eq(&self, other: &RemoveCatalogAttributeRequest) -> bool
fn eq(&self, other: &RemoveCatalogAttributeRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RemoveCatalogAttributeRequest
Auto Trait Implementations§
impl Freeze for RemoveCatalogAttributeRequest
impl RefUnwindSafe for RemoveCatalogAttributeRequest
impl Send for RemoveCatalogAttributeRequest
impl Sync for RemoveCatalogAttributeRequest
impl Unpin for RemoveCatalogAttributeRequest
impl UnsafeUnpin for RemoveCatalogAttributeRequest
impl UnwindSafe for RemoveCatalogAttributeRequest
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