pub struct ResetDeviceParams {
pub id: String,
pub idempotency_key: Option<String>,
}
Expand description
struct for passing parameters to the method [reset_device
]
Fields§
§id: String
The ID of the console user
idempotency_key: Option<String>
A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours.
Implementations§
Source§impl ResetDeviceParams
impl ResetDeviceParams
Sourcepub fn builder() -> ResetDeviceParamsBuilder
pub fn builder() -> ResetDeviceParamsBuilder
Create an instance of ResetDeviceParams
using the builder syntax
Trait Implementations§
Source§impl Clone for ResetDeviceParams
impl Clone for ResetDeviceParams
Source§fn clone(&self) -> ResetDeviceParams
fn clone(&self) -> ResetDeviceParams
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 moreAuto Trait Implementations§
impl Freeze for ResetDeviceParams
impl RefUnwindSafe for ResetDeviceParams
impl Send for ResetDeviceParams
impl Sync for ResetDeviceParams
impl Unpin for ResetDeviceParams
impl UnwindSafe for ResetDeviceParams
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