#[non_exhaustive]pub struct DeleteTagHoldRequest {
pub name: String,
pub validate_only: bool,
}Expand description
The request message to delete a TagHold.
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 resource name of the TagHold to delete. Must be of the form:
tagValues/{tag-value-id}/tagHolds/{tag-hold-id}.
validate_only: boolOptional. Set to true to perform the validations necessary for deleting the resource, but not actually perform the action.
Implementations§
Source§impl DeleteTagHoldRequest
impl DeleteTagHoldRequest
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 DeleteTagHoldRequest
impl Clone for DeleteTagHoldRequest
Source§fn clone(&self) -> DeleteTagHoldRequest
fn clone(&self) -> DeleteTagHoldRequest
Returns a copy 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 DeleteTagHoldRequest
impl Debug for DeleteTagHoldRequest
Source§impl Default for DeleteTagHoldRequest
impl Default for DeleteTagHoldRequest
Source§fn default() -> DeleteTagHoldRequest
fn default() -> DeleteTagHoldRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DeleteTagHoldRequestwhere
DeleteTagHoldRequest: Default,
impl<'de> Deserialize<'de> for DeleteTagHoldRequestwhere
DeleteTagHoldRequest: Default,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Message for DeleteTagHoldRequest
impl Message for DeleteTagHoldRequest
Source§impl PartialEq for DeleteTagHoldRequest
impl PartialEq for DeleteTagHoldRequest
Source§impl Serialize for DeleteTagHoldRequest
impl Serialize for DeleteTagHoldRequest
impl StructuralPartialEq for DeleteTagHoldRequest
Auto Trait Implementations§
impl Freeze for DeleteTagHoldRequest
impl RefUnwindSafe for DeleteTagHoldRequest
impl Send for DeleteTagHoldRequest
impl Sync for DeleteTagHoldRequest
impl Unpin for DeleteTagHoldRequest
impl UnwindSafe for DeleteTagHoldRequest
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