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<Box<User>>,
pub invitee: Option<Box<User>>,
pub organization: Option<Box<Organization>>,
}Expand description
An invitation to the organization that has been sent via email.
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 invitees email address.
role: Option<UserRoleType>The user role that the invitee will receive upon accepting the invite.
external: Option<bool>The invite was sent to external address.
accepted_at: Option<DateTime<Utc>>The time at which the invite was accepted. Null, if the invite hasn’t been accepted.
expires_at: Option<DateTime<Utc>>The time at which the invite will be expiring. Null, if the invite shouldn’t expire.
metadata: Option<Value>Extra metadata associated with the organization invite.
inviter: Option<Box<User>>The user who created the invitation.
invitee: Option<Box<User>>The user who has accepted the invite. Null, if the invite hasn’t been accepted.
organization: Option<Box<Organization>>The organization 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