[−][src]Struct oration::data::AuthHash
pub struct AuthHash(String);
Hash of the user which wants to edit/delete a comment.
Methods
impl AuthHash
[src]
impl AuthHash
pub fn matches(&self, compare: &str) -> bool
[src]
pub fn matches(&self, compare: &str) -> bool
Checkhs if the current hash matches with the compared
hash.
Trait Implementations
impl PartialEq for AuthHash
[src]
impl PartialEq for AuthHash
fn eq(&self, other: &AuthHash) -> bool
[src]
fn eq(&self, other: &AuthHash) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &AuthHash) -> bool
[src]
fn ne(&self, other: &AuthHash) -> bool
This method tests for !=
.
impl<'a, 'r> FromRequest<'a, 'r> for AuthHash
[src]
impl<'a, 'r> FromRequest<'a, 'r> for AuthHash