[][src]Struct in3_sys::json_parser

#[repr(C)]pub struct json_parser {
    pub result: *mut d_token_t,
    pub c: *mut c_char,
    pub allocated: usize,
    pub len: usize,
    pub depth: usize,
}

parser for json or binary-data. it needs to freed after usage.

Fields

result: *mut d_token_t

< the list of all tokens. the first token is the main-token as returned by the parser.

c: *mut c_charallocated: usize

pointer to the src-data

len: usize

amount of tokens allocated result

depth: usize

number of tokens in result

Trait Implementations

impl Clone for json_parser[src]

impl Copy for json_parser[src]

impl Debug for json_parser[src]

Auto Trait Implementations

impl !Send for json_parser

impl !Sync for json_parser

impl Unpin for json_parser

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.