pub struct DependabotAlertCreated {
pub action: DependabotAlertCreatedAction,
pub alert: DependabotAlertCreatedAlert,
pub installation: Option<InstallationLite>,
pub organization: Option<Organization>,
pub repository: Repository,
pub sender: GithubOrg,
}
Expand description
DependabotAlertCreated
JSON schema
{
"title": "dependabot_alert created event",
"type": "object",
"required": [
"action",
"alert",
"repository",
"sender"
],
"properties": {
"action": {
"type": "string",
"enum": [
"created"
]
},
"alert": {
"allOf": [
{
"$ref": "#/definitions/dependabot-alert"
},
{
"type": "object",
"required": [
"dismissed_at",
"dismissed_by",
"dismissed_comment",
"dismissed_reason",
"fixed_at",
"state"
],
"properties": {
"dismissed_at": {
"type": "null"
},
"dismissed_by": {
"type": "null"
},
"dismissed_comment": {
"type": "null"
},
"dismissed_reason": {
"type": "null"
},
"fixed_at": {
"type": "null"
},
"state": {
"type": "string",
"enum": [
"open"
]
}
},
"tsAdditionalProperties": false
}
]
},
"installation": {
"$ref": "#/definitions/installation-lite"
},
"organization": {
"$ref": "#/definitions/organization"
},
"repository": {
"$ref": "#/definitions/repository"
},
"sender": {
"$ref": "#/definitions/github-org"
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema"
}
Fields§
§action: DependabotAlertCreatedAction
§alert: DependabotAlertCreatedAlert
§installation: Option<InstallationLite>
§organization: Option<Organization>
§repository: Repository
§sender: GithubOrg
Implementations§
Source§impl DependabotAlertCreated
impl DependabotAlertCreated
pub fn builder() -> DependabotAlertCreated
Trait Implementations§
Source§impl Clone for DependabotAlertCreated
impl Clone for DependabotAlertCreated
Source§fn clone(&self) -> DependabotAlertCreated
fn clone(&self) -> DependabotAlertCreated
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 DependabotAlertCreated
impl Debug for DependabotAlertCreated
Source§impl<'de> Deserialize<'de> for DependabotAlertCreated
impl<'de> Deserialize<'de> for DependabotAlertCreated
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<&DependabotAlertCreated> for DependabotAlertCreated
impl From<&DependabotAlertCreated> for DependabotAlertCreated
Source§fn from(value: &DependabotAlertCreated) -> Self
fn from(value: &DependabotAlertCreated) -> Self
Converts to this type from the input type.
Source§impl From<DependabotAlertCreated> for DependabotAlertCreated
impl From<DependabotAlertCreated> for DependabotAlertCreated
Source§fn from(value: DependabotAlertCreated) -> Self
fn from(value: DependabotAlertCreated) -> Self
Converts to this type from the input type.
Source§impl From<DependabotAlertCreated> for DependabotAlertEvent
impl From<DependabotAlertCreated> for DependabotAlertEvent
Source§fn from(value: DependabotAlertCreated) -> Self
fn from(value: DependabotAlertCreated) -> Self
Converts to this type from the input type.
Source§impl Serialize for DependabotAlertCreated
impl Serialize for DependabotAlertCreated
Auto Trait Implementations§
impl Freeze for DependabotAlertCreated
impl RefUnwindSafe for DependabotAlertCreated
impl Send for DependabotAlertCreated
impl Sync for DependabotAlertCreated
impl Unpin for DependabotAlertCreated
impl UnwindSafe for DependabotAlertCreated
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