pub struct YearResponse {
pub time: String,
pub total: i32,
pub prev_page: Option<String>,
pub next_page: Option<String>,
pub results: Vec<YearResult>,
}Fields§
§time: String§total: i32§prev_page: Option<String>§next_page: Option<String>§results: Vec<YearResult>Trait Implementations§
Source§impl Clone for YearResponse
impl Clone for YearResponse
Source§fn clone(&self) -> YearResponse
fn clone(&self) -> YearResponse
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 YearResponse
impl Debug for YearResponse
Source§impl<'de> Deserialize<'de> for YearResponse
impl<'de> Deserialize<'de> for YearResponse
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 YearResponse
impl RefUnwindSafe for YearResponse
impl Send for YearResponse
impl Sync for YearResponse
impl Unpin for YearResponse
impl UnwindSafe for YearResponse
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