pub struct SafetyNote {
pub note_type: u8,
pub num: String,
pub ref: Option<String>,
pub subject: String,
pub date: i64,
pub url: String,
}Expand description
Safety or informative note
Fields§
§note_type: u8Note type (1: Safety Note)
num: StringNote number
ref: Option<String>Associated reference
subject: StringSubject
date: i64Publication date (Unix Epoch GMT+2:00)
url: StringURL to access the note
Trait Implementations§
Source§impl Clone for SafetyNote
impl Clone for SafetyNote
Source§fn clone(&self) -> SafetyNote
fn clone(&self) -> SafetyNote
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SafetyNote
impl Debug for SafetyNote
Source§impl<'de> Deserialize<'de> for SafetyNote
impl<'de> Deserialize<'de> for SafetyNote
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
Auto Trait Implementations§
impl Freeze for SafetyNote
impl RefUnwindSafe for SafetyNote
impl Send for SafetyNote
impl Sync for SafetyNote
impl Unpin for SafetyNote
impl UnsafeUnpin for SafetyNote
impl UnwindSafe for SafetyNote
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