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