pub struct EmergencyAccessUpdateRequestModel {
pub type: EmergencyAccessType,
pub wait_time_days: i32,
pub key_encrypted: Option<String>,
}
Fields§
§type: EmergencyAccessType
§wait_time_days: i32
§key_encrypted: Option<String>
Implementations§
Source§impl EmergencyAccessUpdateRequestModel
impl EmergencyAccessUpdateRequestModel
pub fn new( type: EmergencyAccessType, wait_time_days: i32, ) -> EmergencyAccessUpdateRequestModel
Trait Implementations§
Source§impl Clone for EmergencyAccessUpdateRequestModel
impl Clone for EmergencyAccessUpdateRequestModel
Source§fn clone(&self) -> EmergencyAccessUpdateRequestModel
fn clone(&self) -> EmergencyAccessUpdateRequestModel
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 Default for EmergencyAccessUpdateRequestModel
impl Default for EmergencyAccessUpdateRequestModel
Source§fn default() -> EmergencyAccessUpdateRequestModel
fn default() -> EmergencyAccessUpdateRequestModel
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EmergencyAccessUpdateRequestModel
impl<'de> Deserialize<'de> for EmergencyAccessUpdateRequestModel
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 EmergencyAccessUpdateRequestModel
impl PartialEq for EmergencyAccessUpdateRequestModel
Source§fn eq(&self, other: &EmergencyAccessUpdateRequestModel) -> bool
fn eq(&self, other: &EmergencyAccessUpdateRequestModel) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for EmergencyAccessUpdateRequestModel
Auto Trait Implementations§
impl Freeze for EmergencyAccessUpdateRequestModel
impl RefUnwindSafe for EmergencyAccessUpdateRequestModel
impl Send for EmergencyAccessUpdateRequestModel
impl Sync for EmergencyAccessUpdateRequestModel
impl Unpin for EmergencyAccessUpdateRequestModel
impl UnwindSafe for EmergencyAccessUpdateRequestModel
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