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