pub struct CreateOrganizationInvitationRequest {
pub email_address: String,
pub inviter_user_id: String,
pub role: String,
pub public_metadata: Option<Value>,
pub private_metadata: Option<Value>,
pub redirect_url: Option<String>,
}Fields§
§email_address: StringThe email address of the new member that is going to be invited to the organization
inviter_user_id: StringThe ID of the user that invites the new member to the organization. Must be an administrator in the organization.
role: StringThe role of the new member in the organization
public_metadata: Option<Value>Metadata saved on the organization invitation, read-only from the Frontend API and fully accessible (read/write) from the Backend API.
private_metadata: Option<Value>Metadata saved on the organization invitation, fully accessible (read/write) from the Backend API but not visible from the Frontend API.
redirect_url: Option<String>Optional URL that the invitee will be redirected to once they accept the invitation by clicking the join link in the invitation email.
Implementations§
Trait Implementations§
Source§impl Clone for CreateOrganizationInvitationRequest
impl Clone for CreateOrganizationInvitationRequest
Source§fn clone(&self) -> CreateOrganizationInvitationRequest
fn clone(&self) -> CreateOrganizationInvitationRequest
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<'de> Deserialize<'de> for CreateOrganizationInvitationRequest
impl<'de> Deserialize<'de> for CreateOrganizationInvitationRequest
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 CreateOrganizationInvitationRequest
impl PartialEq for CreateOrganizationInvitationRequest
Source§fn eq(&self, other: &CreateOrganizationInvitationRequest) -> bool
fn eq(&self, other: &CreateOrganizationInvitationRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CreateOrganizationInvitationRequest
Auto Trait Implementations§
impl Freeze for CreateOrganizationInvitationRequest
impl RefUnwindSafe for CreateOrganizationInvitationRequest
impl Send for CreateOrganizationInvitationRequest
impl Sync for CreateOrganizationInvitationRequest
impl Unpin for CreateOrganizationInvitationRequest
impl UnwindSafe for CreateOrganizationInvitationRequest
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