[][src]Struct etcdv3client::pb::Permission

pub struct Permission {
    pub perm_type: i32,
    pub key: Vec<u8>,
    pub range_end: Vec<u8>,
}

Permission is a single entity

Fields

perm_type: i32key: Vec<u8>range_end: Vec<u8>

Methods

impl Permission[src]

pub fn perm_type(&self) -> Type[src]

pub fn set_perm_type(&mut self, value: Type)[src]

Trait Implementations

impl Clone for Permission[src]

impl Default for Permission[src]

impl PartialEq<Permission> for Permission[src]

impl Debug for Permission[src]

impl StructuralPartialEq for Permission[src]

impl Message for Permission[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> IntoRequest<T> for T[src]