Struct websession::sessionpolicy::SessionPolicy
[−]
[src]
pub struct SessionPolicy { pub salt: String, }
Fields
salt: String
Methods
impl SessionPolicy
[src]
fn new(salt: &str) -> SessionPolicy
[src]
fn suitable_connection(&self, _: &ConnectionSignature) -> bool
[src]
Trait Implementations
impl Debug for SessionPolicy
[src]
impl Clone for SessionPolicy
[src]
fn clone(&self) -> SessionPolicy
[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 Eq for SessionPolicy
[src]
impl PartialEq for SessionPolicy
[src]
fn eq(&self, __arg_0: &SessionPolicy) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &SessionPolicy) -> bool
[src]
This method tests for !=
.