pub struct GithubAppAuthorizationRevoked {
pub action: GithubAppAuthorizationRevokedAction,
pub sender: User,
}
Expand description
GithubAppAuthorizationRevoked
JSON schema
{
"title": "github_app_authorization revoked event",
"type": "object",
"required": [
"action",
"sender"
],
"properties": {
"action": {
"type": "string",
"enum": [
"revoked"
]
},
"sender": {
"$ref": "#/definitions/user"
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema"
}
Fields§
§action: GithubAppAuthorizationRevokedAction
§sender: User
Implementations§
Trait Implementations§
Source§impl Clone for GithubAppAuthorizationRevoked
impl Clone for GithubAppAuthorizationRevoked
Source§fn clone(&self) -> GithubAppAuthorizationRevoked
fn clone(&self) -> GithubAppAuthorizationRevoked
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<'de> Deserialize<'de> for GithubAppAuthorizationRevoked
impl<'de> Deserialize<'de> for GithubAppAuthorizationRevoked
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<&GithubAppAuthorizationRevoked> for GithubAppAuthorizationRevoked
impl From<&GithubAppAuthorizationRevoked> for GithubAppAuthorizationRevoked
Source§fn from(value: &GithubAppAuthorizationRevoked) -> Self
fn from(value: &GithubAppAuthorizationRevoked) -> Self
Converts to this type from the input type.
Source§impl From<GithubAppAuthorizationEvent> for GithubAppAuthorizationRevoked
impl From<GithubAppAuthorizationEvent> for GithubAppAuthorizationRevoked
Source§fn from(value: GithubAppAuthorizationEvent) -> Self
fn from(value: GithubAppAuthorizationEvent) -> Self
Converts to this type from the input type.
Source§impl From<GithubAppAuthorizationRevoked> for GithubAppAuthorizationEvent
impl From<GithubAppAuthorizationRevoked> for GithubAppAuthorizationEvent
Source§fn from(value: GithubAppAuthorizationRevoked) -> Self
fn from(value: GithubAppAuthorizationRevoked) -> Self
Converts to this type from the input type.
Source§impl From<GithubAppAuthorizationRevoked> for GithubAppAuthorizationRevoked
impl From<GithubAppAuthorizationRevoked> for GithubAppAuthorizationRevoked
Source§fn from(value: GithubAppAuthorizationRevoked) -> Self
fn from(value: GithubAppAuthorizationRevoked) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for GithubAppAuthorizationRevoked
impl RefUnwindSafe for GithubAppAuthorizationRevoked
impl Send for GithubAppAuthorizationRevoked
impl Sync for GithubAppAuthorizationRevoked
impl Unpin for GithubAppAuthorizationRevoked
impl UnwindSafe for GithubAppAuthorizationRevoked
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