Struct stemjail::cmd::shim::AccessRequest [] [src]

pub struct AccessRequest {
    pub data: AccessData,
    pub get_all_access: bool,
}

Fields

data
get_all_access

Methods

impl AccessRequest

fn check(&self) -> Result<(), String>

fn new<T>(path: T, write: bool) -> AccessRequest where T: AsRef<Path>

Trait Implementations

Derived Implementations

impl Encodable for AccessRequest

fn encode<__S: Encoder>(&self, __arg_0: &mut __S) -> Result<(), __S::Error>

impl Decodable for AccessRequest

fn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<AccessRequest, __D::Error>

impl Debug for AccessRequest

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl Clone for AccessRequest

fn clone(&self) -> AccessRequest

fn clone_from(&mut self, source: &Self)