pub struct WebhooksSecurityAdvisoryCwesInner {
pub cwe_id: String,
pub name: String,
}
Fields§
§cwe_id: String
§name: String
Implementations§
Source§impl WebhooksSecurityAdvisoryCwesInner
impl WebhooksSecurityAdvisoryCwesInner
pub fn new(cwe_id: String, name: String) -> WebhooksSecurityAdvisoryCwesInner
Trait Implementations§
Source§impl Clone for WebhooksSecurityAdvisoryCwesInner
impl Clone for WebhooksSecurityAdvisoryCwesInner
Source§fn clone(&self) -> WebhooksSecurityAdvisoryCwesInner
fn clone(&self) -> WebhooksSecurityAdvisoryCwesInner
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 WebhooksSecurityAdvisoryCwesInner
impl Default for WebhooksSecurityAdvisoryCwesInner
Source§fn default() -> WebhooksSecurityAdvisoryCwesInner
fn default() -> WebhooksSecurityAdvisoryCwesInner
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WebhooksSecurityAdvisoryCwesInner
impl<'de> Deserialize<'de> for WebhooksSecurityAdvisoryCwesInner
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 WebhooksSecurityAdvisoryCwesInner
impl PartialEq for WebhooksSecurityAdvisoryCwesInner
Source§fn eq(&self, other: &WebhooksSecurityAdvisoryCwesInner) -> bool
fn eq(&self, other: &WebhooksSecurityAdvisoryCwesInner) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for WebhooksSecurityAdvisoryCwesInner
Auto Trait Implementations§
impl Freeze for WebhooksSecurityAdvisoryCwesInner
impl RefUnwindSafe for WebhooksSecurityAdvisoryCwesInner
impl Send for WebhooksSecurityAdvisoryCwesInner
impl Sync for WebhooksSecurityAdvisoryCwesInner
impl Unpin for WebhooksSecurityAdvisoryCwesInner
impl UnwindSafe for WebhooksSecurityAdvisoryCwesInner
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