Struct inth_oauth2::client::response::JsonObjectHelper [] [src]

pub struct JsonObjectHelper<'a>(pub &'a Object);

JSON object helper for response parsing.

Methods

impl<'a> JsonObjectHelper<'a>
[src]

Gets a field as a string or returns None.

Gets a field as a string or fails with ParseError::ExpectedFieldType.

Gets a field as an i64 or returns None.

Gets a field as an i64 or fails with ParseError::ExpectedFieldType.

Trait Implementations

impl<'a> Debug for JsonObjectHelper<'a>
[src]

Formats the value using the given formatter.

impl<'a> Clone for JsonObjectHelper<'a>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<'a> Copy for JsonObjectHelper<'a>
[src]

impl<'a> PartialEq for JsonObjectHelper<'a>
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.