Struct kodik_api::genres::GenreResponse
source · pub struct GenreResponse {
pub time: String,
pub total: i32,
pub prev_page: Option<String>,
pub next_page: Option<String>,
pub results: Vec<GenreResult>,
}Expand description
A struct containing genres results and other information about the genres
Fields§
§time: String§total: i32§prev_page: Option<String>§next_page: Option<String>§results: Vec<GenreResult>Trait Implementations§
source§impl Clone for GenreResponse
impl Clone for GenreResponse
source§fn clone(&self) -> GenreResponse
fn clone(&self) -> GenreResponse
Returns a copy 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 GenreResponse
impl Debug for GenreResponse
source§impl<'de> Deserialize<'de> for GenreResponse
impl<'de> Deserialize<'de> for GenreResponse
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 GenreResponse
impl RefUnwindSafe for GenreResponse
impl Send for GenreResponse
impl Sync for GenreResponse
impl Unpin for GenreResponse
impl UnwindSafe for GenreResponse
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