pub struct Invite {
pub accepted_at: Option<i32>,
pub email: String,
pub expires_at: i32,
pub id: String,
pub invited_at: i32,
pub object: String,
pub projects: Option<Vec<InviteProjects>>,
pub role: String,
pub status: String,
}
Fields§
§accepted_at: Option<i32>
The Unix timestamp (in seconds) of when the invite was accepted.
email: String
The email address of the individual to whom the invite was sent
expires_at: i32
The Unix timestamp (in seconds) of when the invite expires.
id: String
The identifier, which can be referenced in API endpoints
invited_at: i32
The Unix timestamp (in seconds) of when the invite was sent.
object: String
The object type, which is always organization.invite
projects: Option<Vec<InviteProjects>>
The projects that were granted membership upon acceptance of the invite.
role: String
owner
or reader
status: String
accepted
,expired
, or pending
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Invite
impl<'de> Deserialize<'de> for Invite
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 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