pub struct CodeScanningAlertLocation {
pub path: Option<String>,
pub start_line: Option<i32>,
pub end_line: Option<i32>,
pub start_column: Option<i32>,
pub end_column: Option<i32>,
}
Expand description
CodeScanningAlertLocation : Describe a region within a file for the alert.
Fields§
§path: Option<String>
§start_line: Option<i32>
§end_line: Option<i32>
§start_column: Option<i32>
§end_column: Option<i32>
Implementations§
Source§impl CodeScanningAlertLocation
impl CodeScanningAlertLocation
Sourcepub fn new() -> CodeScanningAlertLocation
pub fn new() -> CodeScanningAlertLocation
Describe a region within a file for the alert.
Trait Implementations§
Source§impl Clone for CodeScanningAlertLocation
impl Clone for CodeScanningAlertLocation
Source§fn clone(&self) -> CodeScanningAlertLocation
fn clone(&self) -> CodeScanningAlertLocation
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 CodeScanningAlertLocation
impl Debug for CodeScanningAlertLocation
Source§impl Default for CodeScanningAlertLocation
impl Default for CodeScanningAlertLocation
Source§fn default() -> CodeScanningAlertLocation
fn default() -> CodeScanningAlertLocation
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CodeScanningAlertLocation
impl<'de> Deserialize<'de> for CodeScanningAlertLocation
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
impl StructuralPartialEq for CodeScanningAlertLocation
Auto Trait Implementations§
impl Freeze for CodeScanningAlertLocation
impl RefUnwindSafe for CodeScanningAlertLocation
impl Send for CodeScanningAlertLocation
impl Sync for CodeScanningAlertLocation
impl Unpin for CodeScanningAlertLocation
impl UnwindSafe for CodeScanningAlertLocation
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