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