pub struct DeprecateThingTypeRequest {
pub thing_type_name: String,
pub undo_deprecate: Option<bool>,
}Expand description
The input for the DeprecateThingType operation.
Fields§
§thing_type_name: StringThe name of the thing type to deprecate.
undo_deprecate: Option<bool>Whether to undeprecate a deprecated thing type. If true, the thing type will not be deprecated anymore and you can associate it with things.
Trait Implementations§
Source§impl Clone for DeprecateThingTypeRequest
impl Clone for DeprecateThingTypeRequest
Source§fn clone(&self) -> DeprecateThingTypeRequest
fn clone(&self) -> DeprecateThingTypeRequest
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 DeprecateThingTypeRequest
impl Debug for DeprecateThingTypeRequest
Source§impl Default for DeprecateThingTypeRequest
impl Default for DeprecateThingTypeRequest
Source§fn default() -> DeprecateThingTypeRequest
fn default() -> DeprecateThingTypeRequest
Returns the “default value” for a type. Read more
impl StructuralPartialEq for DeprecateThingTypeRequest
Auto Trait Implementations§
impl Freeze for DeprecateThingTypeRequest
impl RefUnwindSafe for DeprecateThingTypeRequest
impl Send for DeprecateThingTypeRequest
impl Sync for DeprecateThingTypeRequest
impl Unpin for DeprecateThingTypeRequest
impl UnwindSafe for DeprecateThingTypeRequest
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