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