Struct rraw::responses::RedditResponse [−][src]
pub struct RedditResponse { pub kind: String, pub data: RedditType, }
Expand description
A RedditResponse the type is dynamically decided based on the kind data
Fields
kind: String
Kind data
data: RedditType
Data response
Implementations
Creates a new Reddit Response for internal use
Trait Implementations
fn deserialize<D>(deserializer: D) -> Result<RedditResponse, D::Error> where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<RedditResponse, D::Error> where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for RedditResponse
impl Send for RedditResponse
impl Sync for RedditResponse
impl Unpin for RedditResponse
impl UnwindSafe for RedditResponse