Struct nakadion::auth::AccessToken
[−]
[src]
pub struct AccessToken(pub String);
A token used for authentication against Nakadi
.
Methods
impl AccessToken
[src]
pub fn new<T: Into<String>>(token: T) -> AccessToken
[src]
Creates a new token.
Trait Implementations
impl Clone for AccessToken
[src]
fn clone(&self) -> AccessToken
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for AccessToken
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more