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