pub struct GlobalAdvisoryCreditsInner {
pub user: Box<SimpleUser>,
pub type: SecurityAdvisoryCreditTypes,
}
Fields§
§user: Box<SimpleUser>
§type: SecurityAdvisoryCreditTypes
Implementations§
Source§impl GlobalAdvisoryCreditsInner
impl GlobalAdvisoryCreditsInner
pub fn new( user: SimpleUser, type: SecurityAdvisoryCreditTypes, ) -> GlobalAdvisoryCreditsInner
Trait Implementations§
Source§impl Clone for GlobalAdvisoryCreditsInner
impl Clone for GlobalAdvisoryCreditsInner
Source§fn clone(&self) -> GlobalAdvisoryCreditsInner
fn clone(&self) -> GlobalAdvisoryCreditsInner
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 GlobalAdvisoryCreditsInner
impl Debug for GlobalAdvisoryCreditsInner
Source§impl Default for GlobalAdvisoryCreditsInner
impl Default for GlobalAdvisoryCreditsInner
Source§fn default() -> GlobalAdvisoryCreditsInner
fn default() -> GlobalAdvisoryCreditsInner
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GlobalAdvisoryCreditsInner
impl<'de> Deserialize<'de> for GlobalAdvisoryCreditsInner
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 GlobalAdvisoryCreditsInner
Auto Trait Implementations§
impl Freeze for GlobalAdvisoryCreditsInner
impl RefUnwindSafe for GlobalAdvisoryCreditsInner
impl Send for GlobalAdvisoryCreditsInner
impl Sync for GlobalAdvisoryCreditsInner
impl Unpin for GlobalAdvisoryCreditsInner
impl UnwindSafe for GlobalAdvisoryCreditsInner
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