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