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