pub struct UpdateDeviceCertificateParams {
pub action: String,
}Expand description
Parameters to define a mitigation action that changes the state of the device certificate to inactive.
Fields§
§action: StringThe action that you want to apply to the device cerrtificate. The only supported value is DEACTIVATE.
Trait Implementations§
Source§impl Clone for UpdateDeviceCertificateParams
impl Clone for UpdateDeviceCertificateParams
Source§fn clone(&self) -> UpdateDeviceCertificateParams
fn clone(&self) -> UpdateDeviceCertificateParams
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 UpdateDeviceCertificateParams
impl Default for UpdateDeviceCertificateParams
Source§fn default() -> UpdateDeviceCertificateParams
fn default() -> UpdateDeviceCertificateParams
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UpdateDeviceCertificateParams
impl<'de> Deserialize<'de> for UpdateDeviceCertificateParams
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 PartialEq for UpdateDeviceCertificateParams
impl PartialEq for UpdateDeviceCertificateParams
Source§fn eq(&self, other: &UpdateDeviceCertificateParams) -> bool
fn eq(&self, other: &UpdateDeviceCertificateParams) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for UpdateDeviceCertificateParams
Auto Trait Implementations§
impl Freeze for UpdateDeviceCertificateParams
impl RefUnwindSafe for UpdateDeviceCertificateParams
impl Send for UpdateDeviceCertificateParams
impl Sync for UpdateDeviceCertificateParams
impl Unpin for UpdateDeviceCertificateParams
impl UnwindSafe for UpdateDeviceCertificateParams
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