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