pub struct RepositoryEdited {
pub action: RepositoryEditedAction,
pub changes: RepositoryEditedChanges,
pub installation: Option<InstallationLite>,
pub organization: Option<Organization>,
pub repository: Repository,
pub sender: User,
}
Expand description
RepositoryEdited
JSON schema
{
"title": "repository edited event",
"type": "object",
"required": [
"action",
"changes",
"repository",
"sender"
],
"properties": {
"action": {
"type": "string",
"enum": [
"edited"
]
},
"changes": {
"type": "object",
"properties": {
"default_branch": {
"type": "object",
"required": [
"from"
],
"properties": {
"from": {
"type": "string"
}
},
"additionalProperties": false
},
"description": {
"type": "object",
"required": [
"from"
],
"properties": {
"from": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
},
"homepage": {
"type": "object",
"required": [
"from"
],
"properties": {
"from": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
},
"topics": {
"type": "object",
"required": [
"from"
],
"properties": {
"from": {
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
"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: RepositoryEditedAction
§changes: RepositoryEditedChanges
§installation: Option<InstallationLite>
§organization: Option<Organization>
§repository: Repository
§sender: User
Implementations§
Source§impl RepositoryEdited
impl RepositoryEdited
pub fn builder() -> RepositoryEdited
Trait Implementations§
Source§impl Clone for RepositoryEdited
impl Clone for RepositoryEdited
Source§fn clone(&self) -> RepositoryEdited
fn clone(&self) -> RepositoryEdited
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 RepositoryEdited
impl Debug for RepositoryEdited
Source§impl<'de> Deserialize<'de> for RepositoryEdited
impl<'de> Deserialize<'de> for RepositoryEdited
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<&RepositoryEdited> for RepositoryEdited
impl From<&RepositoryEdited> for RepositoryEdited
Source§fn from(value: &RepositoryEdited) -> Self
fn from(value: &RepositoryEdited) -> Self
Converts to this type from the input type.
Source§impl From<RepositoryEdited> for RepositoryEdited
impl From<RepositoryEdited> for RepositoryEdited
Source§fn from(value: RepositoryEdited) -> Self
fn from(value: RepositoryEdited) -> Self
Converts to this type from the input type.
Source§impl From<RepositoryEdited> for RepositoryEvent
impl From<RepositoryEdited> for RepositoryEvent
Source§fn from(value: RepositoryEdited) -> Self
fn from(value: RepositoryEdited) -> Self
Converts to this type from the input type.
Source§impl Serialize for RepositoryEdited
impl Serialize for RepositoryEdited
Source§impl TryFrom<RepositoryEdited> for RepositoryEdited
impl TryFrom<RepositoryEdited> for RepositoryEdited
Auto Trait Implementations§
impl Freeze for RepositoryEdited
impl RefUnwindSafe for RepositoryEdited
impl Send for RepositoryEdited
impl Sync for RepositoryEdited
impl Unpin for RepositoryEdited
impl UnwindSafe for RepositoryEdited
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