Struct github_rest::model::repositories::events::CodeScanningAlertEvent
source · pub struct CodeScanningAlertEvent {
pub action: CodeScanningAlertAction,
pub alert: CodeScanningAlert,
pub ref_field: String,
pub commit_oid: String,
pub event_info: RepoEventInfo,
}
Expand description
Fields§
§action: CodeScanningAlertAction
§alert: CodeScanningAlert
§ref_field: String
§commit_oid: String
§event_info: RepoEventInfo
Trait Implementations§
source§impl AsRef<RepoEventInfo> for CodeScanningAlertEvent
impl AsRef<RepoEventInfo> for CodeScanningAlertEvent
source§fn as_ref(&self) -> &RepoEventInfo
fn as_ref(&self) -> &RepoEventInfo
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Clone for CodeScanningAlertEvent
impl Clone for CodeScanningAlertEvent
source§fn clone(&self) -> CodeScanningAlertEvent
fn clone(&self) -> CodeScanningAlertEvent
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 CodeScanningAlertEvent
impl Debug for CodeScanningAlertEvent
source§impl Deref for CodeScanningAlertEvent
impl Deref for CodeScanningAlertEvent
source§impl<'de> Deserialize<'de> for CodeScanningAlertEvent
impl<'de> Deserialize<'de> for CodeScanningAlertEvent
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 Event<'_> for CodeScanningAlertEvent
impl Event<'_> for CodeScanningAlertEvent
source§impl PartialEq<CodeScanningAlertEvent> for CodeScanningAlertEvent
impl PartialEq<CodeScanningAlertEvent> for CodeScanningAlertEvent
source§fn eq(&self, other: &CodeScanningAlertEvent) -> bool
fn eq(&self, other: &CodeScanningAlertEvent) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for CodeScanningAlertEvent
impl Serialize for CodeScanningAlertEvent
impl StructuralPartialEq for CodeScanningAlertEvent
Auto Trait Implementations§
impl RefUnwindSafe for CodeScanningAlertEvent
impl Send for CodeScanningAlertEvent
impl Sync for CodeScanningAlertEvent
impl Unpin for CodeScanningAlertEvent
impl UnwindSafe for CodeScanningAlertEvent
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