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: String
The object type, which is always organization.invite
id: String
The identifier, which can be referenced in API endpoints
email: String
The email address of the individual to whom the invite was sent
role: String
owner
or reader
status: String
accepted
,expired
, or pending
invited_at: i64
The Unix timestamp (in seconds) of when the invite was sent.
expires_at: i64
The 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