Struct libjwt::Signature
[−]
[src]
pub struct Signature<'s>(_);
Jwt's signature
Methods
impl<'s> Signature<'s>
[src]
pub fn new<S>(raw: S) -> Self where
S: Into<Cow<'s, str>>,
[src]
S: Into<Cow<'s, str>>,
Create a Jwt's signature from any type who can be turned into a Cow<'s, str>
Trait Implementations
impl<'s> Debug for Signature<'s>
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl<'s> Clone for Signature<'s>
[src]
fn clone(&self) -> Signature<'s>
[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<'s> PartialEq for Signature<'s>
[src]
fn eq(&self, __arg_0: &Signature<'s>) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Signature<'s>) -> bool
[src]
This method tests for !=
.