pub struct MemberRemoved {
pub action: MemberRemovedAction,
pub installation: Option<InstallationLite>,
pub member: User,
pub organization: Option<Organization>,
pub repository: Repository,
pub sender: User,
}
Expand description
MemberRemoved
JSON schema
{
"title": "member removed event",
"type": "object",
"required": [
"action",
"member",
"repository",
"sender"
],
"properties": {
"action": {
"type": "string",
"enum": [
"removed"
]
},
"installation": {
"$ref": "#/definitions/installation-lite"
},
"member": {
"description": "The user that was removed.",
"$ref": "#/definitions/user"
},
"organization": {
"$ref": "#/definitions/organization"
},
"repository": {
"$ref": "#/definitions/repository"
},
"sender": {
"$ref": "#/definitions/user"
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema"
}
Fields§
§action: MemberRemovedAction
§installation: Option<InstallationLite>
§member: User
The user that was removed.
organization: Option<Organization>
§repository: Repository
§sender: User
Implementations§
Source§impl MemberRemoved
impl MemberRemoved
pub fn builder() -> MemberRemoved
Trait Implementations§
Source§impl Clone for MemberRemoved
impl Clone for MemberRemoved
Source§fn clone(&self) -> MemberRemoved
fn clone(&self) -> MemberRemoved
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 MemberRemoved
impl Debug for MemberRemoved
Source§impl<'de> Deserialize<'de> for MemberRemoved
impl<'de> Deserialize<'de> for MemberRemoved
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<&MemberRemoved> for MemberRemoved
impl From<&MemberRemoved> for MemberRemoved
Source§fn from(value: &MemberRemoved) -> Self
fn from(value: &MemberRemoved) -> Self
Converts to this type from the input type.
Source§impl From<MemberRemoved> for MemberEvent
impl From<MemberRemoved> for MemberEvent
Source§fn from(value: MemberRemoved) -> Self
fn from(value: MemberRemoved) -> Self
Converts to this type from the input type.
Source§impl From<MemberRemoved> for MemberRemoved
impl From<MemberRemoved> for MemberRemoved
Source§fn from(value: MemberRemoved) -> Self
fn from(value: MemberRemoved) -> Self
Converts to this type from the input type.
Source§impl Serialize for MemberRemoved
impl Serialize for MemberRemoved
Source§impl TryFrom<MemberRemoved> for MemberRemoved
impl TryFrom<MemberRemoved> for MemberRemoved
Auto Trait Implementations§
impl Freeze for MemberRemoved
impl RefUnwindSafe for MemberRemoved
impl Send for MemberRemoved
impl Sync for MemberRemoved
impl Unpin for MemberRemoved
impl UnwindSafe for MemberRemoved
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