pub struct OrganizationInviteFullDetailsPayload {
pub status: Option<OrganizationInviteStatus>,
pub inviter: Option<String>,
pub email: Option<String>,
pub role: Option<UserRoleType>,
pub created_at: Option<DateTime<Utc>>,
pub organization_name: Option<String>,
pub organization_id: Option<String>,
pub organization_logo_url: Option<String>,
pub accepted: Option<bool>,
pub expired: Option<bool>,
pub allowed_auth_services: Option<Vec<String>>,
}Fields§
§status: Option<OrganizationInviteStatus>The status of the invite.
inviter: Option<String>The name of the inviter.
email: Option<String>The email of the invitee.
role: Option<UserRoleType>What user role the invite should grant.
created_at: Option<DateTime<Utc>>When the invite was created.
organization_name: Option<String>Name of the workspace the invite is for.
organization_id: Option<String>ID of the workspace the invite is for.
organization_logo_url: Option<String>URL of the workspace logo the invite is for.
accepted: Option<bool>Whether the invite has already been accepted.
expired: Option<bool>Whether the invite has expired.
allowed_auth_services: Option<Vec<String>>Allowed authentication providers, empty array means all are allowed.
Trait Implementations§
Source§impl Clone for OrganizationInviteFullDetailsPayload
impl Clone for OrganizationInviteFullDetailsPayload
Source§fn clone(&self) -> OrganizationInviteFullDetailsPayload
fn clone(&self) -> OrganizationInviteFullDetailsPayload
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 OrganizationInviteFullDetailsPayload
impl Default for OrganizationInviteFullDetailsPayload
Source§fn default() -> OrganizationInviteFullDetailsPayload
fn default() -> OrganizationInviteFullDetailsPayload
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for OrganizationInviteFullDetailsPayload
impl<'de> Deserialize<'de> for OrganizationInviteFullDetailsPayload
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 OrganizationInviteFullDetailsPayload
impl RefUnwindSafe for OrganizationInviteFullDetailsPayload
impl Send for OrganizationInviteFullDetailsPayload
impl Sync for OrganizationInviteFullDetailsPayload
impl Unpin for OrganizationInviteFullDetailsPayload
impl UnwindSafe for OrganizationInviteFullDetailsPayload
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