pub struct OrganizationMemberInvited {
pub action: OrganizationMemberInvitedAction,
pub installation: Option<InstallationLite>,
pub invitation: OrganizationMemberInvitedInvitation,
pub organization: Organization,
pub sender: User,
pub user: User,
}
Expand description
OrganizationMemberInvited
JSON schema
{
"title": "organization member_invited event",
"type": "object",
"required": [
"action",
"invitation",
"organization",
"sender",
"user"
],
"properties": {
"action": {
"type": "string",
"enum": [
"member_invited"
]
},
"installation": {
"$ref": "#/definitions/installation-lite"
},
"invitation": {
"description": "The invitation for the user or email if the action is `member_invited`.",
"type": "object",
"required": [
"created_at",
"email",
"failed_at",
"failed_reason",
"id",
"invitation_teams_url",
"inviter",
"login",
"node_id",
"role",
"team_count"
],
"properties": {
"created_at": {
"type": "string",
"format": "date-time"
},
"email": {
"type": [
"string",
"null"
]
},
"failed_at": {
"oneOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"failed_reason": {
"type": [
"string",
"null"
]
},
"id": {
"type": "number"
},
"invitation_teams_url": {
"type": "string",
"format": "uri"
},
"inviter": {
"$ref": "#/definitions/user"
},
"login": {
"type": "string"
},
"node_id": {
"type": "string"
},
"role": {
"type": "string"
},
"team_count": {
"type": "number"
}
},
"additionalProperties": false
},
"organization": {
"$ref": "#/definitions/organization"
},
"sender": {
"$ref": "#/definitions/user"
},
"user": {
"$ref": "#/definitions/user"
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema"
}
Fields§
§action: OrganizationMemberInvitedAction
§installation: Option<InstallationLite>
§invitation: OrganizationMemberInvitedInvitation
§organization: Organization
§sender: User
§user: User
Implementations§
Source§impl OrganizationMemberInvited
impl OrganizationMemberInvited
pub fn builder() -> OrganizationMemberInvited
Trait Implementations§
Source§impl Clone for OrganizationMemberInvited
impl Clone for OrganizationMemberInvited
Source§fn clone(&self) -> OrganizationMemberInvited
fn clone(&self) -> OrganizationMemberInvited
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 Debug for OrganizationMemberInvited
impl Debug for OrganizationMemberInvited
Source§impl<'de> Deserialize<'de> for OrganizationMemberInvited
impl<'de> Deserialize<'de> for OrganizationMemberInvited
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
Source§impl From<&OrganizationMemberInvited> for OrganizationMemberInvited
impl From<&OrganizationMemberInvited> for OrganizationMemberInvited
Source§fn from(value: &OrganizationMemberInvited) -> Self
fn from(value: &OrganizationMemberInvited) -> Self
Converts to this type from the input type.
Source§impl From<OrganizationMemberInvited> for OrganizationEvent
impl From<OrganizationMemberInvited> for OrganizationEvent
Source§fn from(value: OrganizationMemberInvited) -> Self
fn from(value: OrganizationMemberInvited) -> Self
Converts to this type from the input type.
Source§impl From<OrganizationMemberInvited> for OrganizationMemberInvited
impl From<OrganizationMemberInvited> for OrganizationMemberInvited
Source§fn from(value: OrganizationMemberInvited) -> Self
fn from(value: OrganizationMemberInvited) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for OrganizationMemberInvited
impl RefUnwindSafe for OrganizationMemberInvited
impl Send for OrganizationMemberInvited
impl Sync for OrganizationMemberInvited
impl Unpin for OrganizationMemberInvited
impl UnwindSafe for OrganizationMemberInvited
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