pub struct Source {
pub id: usize,
pub realtime_start: String,
pub realtime_end: String,
pub name: String,
pub link: Option<String>,
pub notes: Option<String>,
}
Expand description
Data structure containing infomation about a particular tag
Fields§
§id: usize
The source ID
realtime_start: String
The Real Time start date for the request
realtime_end: String
The Real Time end data for the request
name: String
The source name
link: Option<String>
A link to the source’s website
notes: Option<String>
Additional notes about the source
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Source
impl<'de> Deserialize<'de> for Source
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 Source
impl RefUnwindSafe for Source
impl Send for Source
impl Sync for Source
impl Unpin for Source
impl UnwindSafe for Source
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