pub struct OrganizationInvite {Show 13 fields
pub id: Option<String>,
pub created_at: Option<DateTime<Utc>>,
pub updated_at: Option<DateTime<Utc>>,
pub archived_at: Option<DateTime<Utc>>,
pub email: Option<String>,
pub role: Option<UserRoleType>,
pub external: Option<bool>,
pub accepted_at: Option<DateTime<Utc>>,
pub expires_at: Option<DateTime<Utc>>,
pub metadata: Option<Value>,
pub inviter: Option<User>,
pub invitee: Option<User>,
pub organization: Option<Organization>,
}Expand description
A pending invitation to join the workspace, sent via email. Invites specify the role the invitee will receive and can optionally include team assignments. Invites can expire and must be accepted by the invitee to grant workspace access.
Fields§
§id: Option<String>The unique identifier of the entity.
created_at: Option<DateTime<Utc>>The time at which the entity was created.
updated_at: Option<DateTime<Utc>>The last time at which the entity was meaningfully updated. This is the same as the creation time if the entity hasn’t been updated after creation.
archived_at: Option<DateTime<Utc>>The time at which the entity was archived. Null if the entity has not been archived.
email: Option<String>The email address of the person being invited to the workspace.
role: Option<UserRoleType>The workspace role (admin, member, guest, or owner) that the invitee will receive upon accepting the invite.
external: Option<bool>Whether the invite was sent to an email address outside the workspace’s verified domains.
accepted_at: Option<DateTime<Utc>>The time at which the invite was accepted by the invitee. Null if the invite is still pending.
expires_at: Option<DateTime<Utc>>The time at which the invite will expire and can no longer be accepted. Null if the invite does not have an expiration date.
metadata: Option<Value>Extra metadata associated with the invite.
inviter: Option<User>The user who created the invitation.
invitee: Option<User>The user who has accepted the invite. Null, if the invite hasn’t been accepted.
organization: Option<Organization>The workspace that the invite is associated with.
Trait Implementations§
Source§impl Clone for OrganizationInvite
impl Clone for OrganizationInvite
Source§fn clone(&self) -> OrganizationInvite
fn clone(&self) -> OrganizationInvite
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more