pub struct DependabotAlertWithRepository {Show 16 fields
pub number: i32,
pub state: State,
pub dependency: Box<DependabotAlertWithRepositoryDependency>,
pub security_advisory: Box<DependabotAlertSecurityAdvisory>,
pub security_vulnerability: Box<DependabotAlertSecurityVulnerability>,
pub url: String,
pub html_url: String,
pub created_at: String,
pub updated_at: String,
pub dismissed_at: Option<String>,
pub dismissed_by: Option<Box<NullableSimpleUser>>,
pub dismissed_reason: Option<DismissedReason>,
pub dismissed_comment: Option<String>,
pub fixed_at: Option<String>,
pub auto_dismissed_at: Option<Option<String>>,
pub repository: Box<SimpleRepository>,
}
Expand description
DependabotAlertWithRepository : A Dependabot alert.
Fields§
§number: i32
The security alert number.
state: State
The state of the Dependabot alert.
dependency: Box<DependabotAlertWithRepositoryDependency>
§security_advisory: Box<DependabotAlertSecurityAdvisory>
§security_vulnerability: Box<DependabotAlertSecurityVulnerability>
§url: String
The REST API URL of the alert resource.
html_url: String
The GitHub URL of the alert resource.
created_at: String
The time that the alert was created in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ
.
updated_at: String
The time that the alert was last updated in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ
.
dismissed_at: Option<String>
The time that the alert was dismissed in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ
.
dismissed_by: Option<Box<NullableSimpleUser>>
§dismissed_reason: Option<DismissedReason>
The reason that the alert was dismissed.
dismissed_comment: Option<String>
An optional comment associated with the alert’s dismissal.
fixed_at: Option<String>
The time that the alert was no longer detected and was considered fixed in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ
.
auto_dismissed_at: Option<Option<String>>
The time that the alert was auto-dismissed in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ
.
repository: Box<SimpleRepository>
Implementations§
Source§impl DependabotAlertWithRepository
impl DependabotAlertWithRepository
Sourcepub fn new(
number: i32,
state: State,
dependency: DependabotAlertWithRepositoryDependency,
security_advisory: DependabotAlertSecurityAdvisory,
security_vulnerability: DependabotAlertSecurityVulnerability,
url: String,
html_url: String,
created_at: String,
updated_at: String,
dismissed_at: Option<String>,
dismissed_by: Option<NullableSimpleUser>,
dismissed_reason: Option<DismissedReason>,
dismissed_comment: Option<String>,
fixed_at: Option<String>,
repository: SimpleRepository,
) -> DependabotAlertWithRepository
pub fn new( number: i32, state: State, dependency: DependabotAlertWithRepositoryDependency, security_advisory: DependabotAlertSecurityAdvisory, security_vulnerability: DependabotAlertSecurityVulnerability, url: String, html_url: String, created_at: String, updated_at: String, dismissed_at: Option<String>, dismissed_by: Option<NullableSimpleUser>, dismissed_reason: Option<DismissedReason>, dismissed_comment: Option<String>, fixed_at: Option<String>, repository: SimpleRepository, ) -> DependabotAlertWithRepository
A Dependabot alert.
Trait Implementations§
Source§impl Clone for DependabotAlertWithRepository
impl Clone for DependabotAlertWithRepository
Source§fn clone(&self) -> DependabotAlertWithRepository
fn clone(&self) -> DependabotAlertWithRepository
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 Default for DependabotAlertWithRepository
impl Default for DependabotAlertWithRepository
Source§fn default() -> DependabotAlertWithRepository
fn default() -> DependabotAlertWithRepository
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DependabotAlertWithRepository
impl<'de> Deserialize<'de> for DependabotAlertWithRepository
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 PartialEq for DependabotAlertWithRepository
impl PartialEq for DependabotAlertWithRepository
Source§fn eq(&self, other: &DependabotAlertWithRepository) -> bool
fn eq(&self, other: &DependabotAlertWithRepository) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for DependabotAlertWithRepository
Auto Trait Implementations§
impl Freeze for DependabotAlertWithRepository
impl RefUnwindSafe for DependabotAlertWithRepository
impl Send for DependabotAlertWithRepository
impl Sync for DependabotAlertWithRepository
impl Unpin for DependabotAlertWithRepository
impl UnwindSafe for DependabotAlertWithRepository
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