pub struct Reactions {
pub confused: i64,
pub eyes: i64,
pub heart: i64,
pub hooray: i64,
pub laugh: i64,
pub minus1: i64,
pub plus1: i64,
pub rocket: i64,
pub total_count: i64,
pub url: String,
}
Expand description
Reactions
JSON schema
{
"title": "Reactions",
"type": "object",
"required": [
"+1",
"-1",
"confused",
"eyes",
"heart",
"hooray",
"laugh",
"rocket",
"total_count",
"url"
],
"properties": {
"+1": {
"type": "integer"
},
"-1": {
"type": "integer"
},
"confused": {
"type": "integer"
},
"eyes": {
"type": "integer"
},
"heart": {
"type": "integer"
},
"hooray": {
"type": "integer"
},
"laugh": {
"type": "integer"
},
"rocket": {
"type": "integer"
},
"total_count": {
"type": "integer"
},
"url": {
"type": "string",
"format": "uri"
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema"
}
Fields§
§confused: i64
§eyes: i64
§heart: i64
§hooray: i64
§laugh: i64
§minus1: i64
§plus1: i64
§rocket: i64
§total_count: i64
§url: String
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Reactions
impl<'de> Deserialize<'de> for Reactions
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 Reactions
impl RefUnwindSafe for Reactions
impl Send for Reactions
impl Sync for Reactions
impl Unpin for Reactions
impl UnwindSafe for Reactions
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