Struct github_rest::model::repositories::CodeScanningAlert
source · pub struct CodeScanningAlert {Show 13 fields
pub number: usize,
pub created_at: String,
pub updated_at: String,
pub url: String,
pub html_url: String,
pub instances_url: String,
pub state: CodeScanningAlertState,
pub fixed_at: Option<String>,
pub dismissed_by: Option<SimpleUser>,
pub dismissed_at: Option<String>,
pub rule: CodeScanningAlertRule,
pub tool: Tool,
pub most_recent_instance: MostRecentInstance,
}
Expand description
Fields§
§number: usize
§created_at: String
§updated_at: String
§url: String
§html_url: String
§instances_url: String
§state: CodeScanningAlertState
§fixed_at: Option<String>
§dismissed_by: Option<SimpleUser>
§dismissed_at: Option<String>
§rule: CodeScanningAlertRule
§tool: Tool
§most_recent_instance: MostRecentInstance
Trait Implementations§
source§impl Clone for CodeScanningAlert
impl Clone for CodeScanningAlert
source§fn clone(&self) -> CodeScanningAlert
fn clone(&self) -> CodeScanningAlert
Returns a copy 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 CodeScanningAlert
impl Debug for CodeScanningAlert
source§impl<'de> Deserialize<'de> for CodeScanningAlert
impl<'de> Deserialize<'de> for CodeScanningAlert
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<CodeScanningAlert> for CodeScanningAlert
impl PartialEq<CodeScanningAlert> for CodeScanningAlert
source§fn eq(&self, other: &CodeScanningAlert) -> bool
fn eq(&self, other: &CodeScanningAlert) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for CodeScanningAlert
impl Serialize for CodeScanningAlert
impl StructuralPartialEq for CodeScanningAlert
Auto Trait Implementations§
impl RefUnwindSafe for CodeScanningAlert
impl Send for CodeScanningAlert
impl Sync for CodeScanningAlert
impl Unpin for CodeScanningAlert
impl UnwindSafe for CodeScanningAlert
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