pub struct TeamAddEvent {
pub installation: Option<InstallationLite>,
pub organization: Organization,
pub repository: Repository,
pub sender: User,
pub team: Team,
}
Expand description
TeamAddEvent
JSON schema
{
"title": "team_add event",
"type": "object",
"required": [
"organization",
"repository",
"sender",
"team"
],
"properties": {
"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§
§installation: Option<InstallationLite>
§organization: Organization
§repository: Repository
§sender: User
§team: Team
Implementations§
Source§impl TeamAddEvent
impl TeamAddEvent
pub fn builder() -> TeamAddEvent
Trait Implementations§
Source§impl Clone for TeamAddEvent
impl Clone for TeamAddEvent
Source§fn clone(&self) -> TeamAddEvent
fn clone(&self) -> TeamAddEvent
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 TeamAddEvent
impl Debug for TeamAddEvent
Source§impl<'de> Deserialize<'de> for TeamAddEvent
impl<'de> Deserialize<'de> for TeamAddEvent
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<&TeamAddEvent> for TeamAddEvent
impl From<&TeamAddEvent> for TeamAddEvent
Source§fn from(value: &TeamAddEvent) -> Self
fn from(value: &TeamAddEvent) -> Self
Converts to this type from the input type.
Source§impl From<TeamAddEvent> for TeamAddEvent
impl From<TeamAddEvent> for TeamAddEvent
Source§fn from(value: TeamAddEvent) -> Self
fn from(value: TeamAddEvent) -> Self
Converts to this type from the input type.
Source§impl Serialize for TeamAddEvent
impl Serialize for TeamAddEvent
Source§impl TryFrom<TeamAddEvent> for TeamAddEvent
impl TryFrom<TeamAddEvent> for TeamAddEvent
Auto Trait Implementations§
impl Freeze for TeamAddEvent
impl RefUnwindSafe for TeamAddEvent
impl Send for TeamAddEvent
impl Sync for TeamAddEvent
impl Unpin for TeamAddEvent
impl UnwindSafe for TeamAddEvent
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