pub struct Invite {
pub object: String,
pub id: String,
pub email: String,
pub role: String,
pub status: String,
pub invited_at: i64,
pub expires_at: i64,
pub accepted_at: Option<i64>,
pub projects: Option<Vec<Invite_Projects>>,
}Expand description
Represents an individual invite to the organization.
Fields§
§object: StringThe object type, which is always organization.invite
id: StringThe identifier, which can be referenced in API endpoints
email: StringThe email address of the individual to whom the invite was sent
role: Stringowner or reader
status: Stringaccepted,expired, or pending
invited_at: i64The Unix timestamp (in seconds) of when the invite was sent.
expires_at: i64The Unix timestamp (in seconds) of when the invite expires.
accepted_at: Option<i64>The Unix timestamp (in seconds) of when the invite was accepted.
projects: Option<Vec<Invite_Projects>>The projects that were granted membership upon acceptance of the invite.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Invite
impl RefUnwindSafe for Invite
impl Send for Invite
impl Sync for Invite
impl Unpin for Invite
impl UnwindSafe for Invite
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