Struct vkrs::auth::Permissions
[−]
[src]
pub struct Permissions(_);
Methods
impl Permissions
[src]
fn new(n: i32) -> Permissions
Trait Implementations
impl Debug for Permissions
[src]
impl PartialEq for Permissions
[src]
fn eq(&self, __arg_0: &Permissions) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Permissions) -> bool
This method tests for !=
.
impl Eq for Permissions
[src]
impl Copy for Permissions
[src]
impl Clone for Permissions
[src]
fn clone(&self) -> Permissions
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Default for Permissions
[src]
fn default() -> Permissions
Returns the "default value" for a type. Read more
impl Deserialize for Permissions
[src]
fn deserialize<D: Deserializer>(d: &mut D) -> Result<Permissions, D::Error>
Deserialize this value given this Deserializer
.
impl FromStr for Permissions
[src]
type Err = ()
The associated error which can be returned from parsing.
fn from_str(s: &str) -> Result<Permissions, ()>
Parses a string s
to return a value of this type. Read more
impl From<Permission> for Permissions
[src]
fn from(perm: Permission) -> Permissions
Performs the conversion.
impl<'a, T: IntoIterator<Item=&'a Permission>> From<T> for Permissions
[src]
fn from(iter: T) -> Permissions
Performs the conversion.
impl FromIterator<i32> for Permissions
[src]
fn from_iter<T: IntoIterator<Item=i32>>(iter: T) -> Permissions
Creates a value from an iterator. Read more
impl FromIterator<Permission> for Permissions
[src]
fn from_iter<T: IntoIterator<Item=Permission>>(iter: T) -> Permissions
Creates a value from an iterator. Read more
impl<'a> FromIterator<&'a Permission> for Permissions
[src]
fn from_iter<T: IntoIterator<Item=&'a Permission>>(iter: T) -> Permissions
Creates a value from an iterator. Read more
impl Into<String> for Permissions
[src]
impl Into<Vec<Permission>> for Permissions
[src]
fn into(self) -> Vec<Permission>
Performs the conversion.