pub struct DependabotAlertFixed {
pub action: DependabotAlertFixedAction,
pub alert: DependabotAlertFixedAlert,
pub installation: Option<InstallationLite>,
pub organization: Option<Organization>,
pub repository: Repository,
pub sender: GithubOrg,
}
Expand description
DependabotAlertFixed
JSON schema
{
"title": "dependabot_alert fixed event",
"type": "object",
"required": [
"action",
"alert",
"repository",
"sender"
],
"properties": {
"action": {
"type": "string",
"enum": [
"fixed"
]
},
"alert": {
"allOf": [
{
"$ref": "#/definitions/dependabot-alert"
},
{
"type": "object",
"required": [
"fixed_at",
"state"
],
"properties": {
"fixed_at": {
"type": "string",
"format": "date-time"
},
"state": {
"type": "string",
"enum": [
"fixed"
]
}
},
"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: DependabotAlertFixedAction
§alert: DependabotAlertFixedAlert
§installation: Option<InstallationLite>
§organization: Option<Organization>
§repository: Repository
§sender: GithubOrg
Implementations§
Source§impl DependabotAlertFixed
impl DependabotAlertFixed
pub fn builder() -> DependabotAlertFixed
Trait Implementations§
Source§impl Clone for DependabotAlertFixed
impl Clone for DependabotAlertFixed
Source§fn clone(&self) -> DependabotAlertFixed
fn clone(&self) -> DependabotAlertFixed
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 DependabotAlertFixed
impl Debug for DependabotAlertFixed
Source§impl<'de> Deserialize<'de> for DependabotAlertFixed
impl<'de> Deserialize<'de> for DependabotAlertFixed
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<&DependabotAlertFixed> for DependabotAlertFixed
impl From<&DependabotAlertFixed> for DependabotAlertFixed
Source§fn from(value: &DependabotAlertFixed) -> Self
fn from(value: &DependabotAlertFixed) -> Self
Converts to this type from the input type.
Source§impl From<DependabotAlertFixed> for DependabotAlertEvent
impl From<DependabotAlertFixed> for DependabotAlertEvent
Source§fn from(value: DependabotAlertFixed) -> Self
fn from(value: DependabotAlertFixed) -> Self
Converts to this type from the input type.
Source§impl From<DependabotAlertFixed> for DependabotAlertFixed
impl From<DependabotAlertFixed> for DependabotAlertFixed
Source§fn from(value: DependabotAlertFixed) -> Self
fn from(value: DependabotAlertFixed) -> Self
Converts to this type from the input type.
Source§impl Serialize for DependabotAlertFixed
impl Serialize for DependabotAlertFixed
Auto Trait Implementations§
impl Freeze for DependabotAlertFixed
impl RefUnwindSafe for DependabotAlertFixed
impl Send for DependabotAlertFixed
impl Sync for DependabotAlertFixed
impl Unpin for DependabotAlertFixed
impl UnwindSafe for DependabotAlertFixed
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