Impl Default for RefFlags
This commit is contained in:
parent
757d69f41a
commit
bb4b705816
1 changed files with 10 additions and 1 deletions
|
@ -5,7 +5,6 @@ use toml::Value;
|
|||
use error::RefErrorKind as REK;
|
||||
use result::Result;
|
||||
|
||||
#[derive(Default)]
|
||||
pub struct RefFlags {
|
||||
content_hashing: bool,
|
||||
permission_tracking: bool,
|
||||
|
@ -72,3 +71,13 @@ impl Into<Value> for RefFlags {
|
|||
|
||||
}
|
||||
|
||||
impl Default for RefFlags {
|
||||
|
||||
fn default() -> RefFlags {
|
||||
RefFlags {
|
||||
content_hashing: false,
|
||||
permission_tracking: false,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue