Struct libimagref::flags::RefFlags
[−]
[src]
pub struct RefFlags { /* fields omitted */ }
Methods
impl RefFlags
[src]
fn read(v: &Value) -> Result<RefFlags>
Read the RefFlags from a TOML document
Assumes that the whole TOML tree is passed. So this looks up ref.flags
to get the flags.
It assumes that this is a Map with Key =
fn is_often_moving(self, b: bool) -> RefFlags
Alias for RefFlags::content_hashing()
fn with_content_hashing(self, b: bool) -> RefFlags
fn with_permission_tracking(self, b: bool) -> RefFlags
fn get_content_hashing(&self) -> bool
fn get_permission_tracking(&self) -> bool
Trait Implementations
impl Into<Value> for RefFlags
[src]
fn into(self) -> Value
Build a TOML::Value from this RefFlags object.
Returns a Map which should be set in ref.flags
in the header.