pub struct OrganizationInviteCreateInput {
pub id: Option<String>,
pub email: Option<String>,
pub role: Option<UserRoleType>,
pub team_ids: Option<Vec<String>>,
pub metadata: Option<Value>,
}Fields§
§id: Option<String>The identifier in UUID v4 format. If none is provided, the backend will generate one.
email: Option<String>The email of the invitee.
role: Option<UserRoleType>What user role the invite should grant.
team_ids: Option<Vec<String>>The teams that the user has been invited to.
metadata: Option<Value>INTERNAL Optional metadata about the invite.
Trait Implementations§
Source§impl Clone for OrganizationInviteCreateInput
impl Clone for OrganizationInviteCreateInput
Source§fn clone(&self) -> OrganizationInviteCreateInput
fn clone(&self) -> OrganizationInviteCreateInput
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 OrganizationInviteCreateInput
impl Default for OrganizationInviteCreateInput
Source§fn default() -> OrganizationInviteCreateInput
fn default() -> OrganizationInviteCreateInput
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for OrganizationInviteCreateInput
impl<'de> Deserialize<'de> for OrganizationInviteCreateInput
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
Auto Trait Implementations§
impl Freeze for OrganizationInviteCreateInput
impl RefUnwindSafe for OrganizationInviteCreateInput
impl Send for OrganizationInviteCreateInput
impl Sync for OrganizationInviteCreateInput
impl Unpin for OrganizationInviteCreateInput
impl UnwindSafe for OrganizationInviteCreateInput
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