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