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

pub struct AccessData {
    pub path: PathBuf,
    pub write: bool,
}

An AccessData always imply at least a read access

Fields

path
write

Trait Implementations

impl Into<Vec<Arc<FileAccess>>> for AccessData

fn into(self) -> Vec<Arc<FileAccess>>

Derived Implementations

impl Encodable for AccessData

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

impl Decodable for AccessData

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

impl Debug for AccessData

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

impl Clone for AccessData

fn clone(&self) -> AccessData

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