Struct ocf::Root [] [src]

pub struct Root {
    pub path: String,
    pub readonly: Option<bool>,
}

Fields

path
readonly

Methods

impl Root

fn path(&self) -> &str

fn readonly(&self) -> bool

Trait Implementations

impl Deserialize for Root

fn deserialize<__D>(deserializer: &mut __D) -> Result<Root, __D::Error> where __D: Deserializer

impl Serialize for Root

fn serialize<__S>(&self, serializer: &mut __S) -> Result<(), __S::Error> where __S: Serializer

Derived Implementations

impl Debug for Root

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

impl Clone for Root

fn clone(&self) -> Root

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