pub struct DeleteThingRequest {
pub expected_version: Option<i64>,
pub thing_name: String,
}Expand description
The input for the DeleteThing operation.
Fields§
§expected_version: Option<i64>The expected version of the thing record in the registry. If the version of the record in the registry does not match the expected version specified in the request, the DeleteThing request is rejected with a VersionConflictException.
thing_name: StringThe name of the thing to delete.
Trait Implementations§
Source§impl Clone for DeleteThingRequest
impl Clone for DeleteThingRequest
Source§fn clone(&self) -> DeleteThingRequest
fn clone(&self) -> DeleteThingRequest
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 DeleteThingRequest
impl Debug for DeleteThingRequest
Source§impl Default for DeleteThingRequest
impl Default for DeleteThingRequest
Source§fn default() -> DeleteThingRequest
fn default() -> DeleteThingRequest
Returns the “default value” for a type. Read more
Source§impl PartialEq for DeleteThingRequest
impl PartialEq for DeleteThingRequest
Source§impl Serialize for DeleteThingRequest
impl Serialize for DeleteThingRequest
impl StructuralPartialEq for DeleteThingRequest
Auto Trait Implementations§
impl Freeze for DeleteThingRequest
impl RefUnwindSafe for DeleteThingRequest
impl Send for DeleteThingRequest
impl Sync for DeleteThingRequest
impl Unpin for DeleteThingRequest
impl UnwindSafe for DeleteThingRequest
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