pub struct OAuthTokenData { /* private fields */ }
Expand description

OAuthToken Data

When using token refresh, this data structure provides the fields used in the OAuth token refresh callback function.

NOTE: SASL extensions are not currently supported

Implementations

Creates a new token data structure, with given value, lifetime, and principal name. Error string size is set to 512 bytes.

Modifies the error string size to the specified value.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.