pub struct GetGifsByResponse {
pub data: Vec<Gif>,
pub meta: Option<Meta>,
pub pagination: Option<Pagination>,
}Fields§
§data: Vec<Gif>§meta: Option<Meta>The Meta Object contains basic information regarding the request, whether it was successful, and the response given by the API. Check responses to see a description of types of response codes the API might give you under different cirumstances.
pagination: Option<Pagination>The Pagination Object contains information relating to the number of total results available as well as the number of results fetched and their relative positions.
Trait Implementations§
Source§impl Clone for GetGifsByResponse
impl Clone for GetGifsByResponse
Source§fn clone(&self) -> GetGifsByResponse
fn clone(&self) -> GetGifsByResponse
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 GetGifsByResponse
impl Debug for GetGifsByResponse
Source§impl<'de> Deserialize<'de> for GetGifsByResponse
impl<'de> Deserialize<'de> for GetGifsByResponse
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
Source§impl JsonSchema for GetGifsByResponse
impl JsonSchema for GetGifsByResponse
Source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for GetGifsByResponse
impl PartialEq for GetGifsByResponse
Source§impl Serialize for GetGifsByResponse
impl Serialize for GetGifsByResponse
impl StructuralPartialEq for GetGifsByResponse
Auto Trait Implementations§
impl Freeze for GetGifsByResponse
impl RefUnwindSafe for GetGifsByResponse
impl Send for GetGifsByResponse
impl Sync for GetGifsByResponse
impl Unpin for GetGifsByResponse
impl UnsafeUnpin for GetGifsByResponse
impl UnwindSafe for GetGifsByResponse
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