Struct zbox::RepoInfo [−][src]
pub struct RepoInfo { /* fields omitted */ }
Information about a repository.
Methods
impl RepoInfo
[src]
impl RepoInfo
pub fn volume_id(&self) -> &Eid
[src]
pub fn volume_id(&self) -> &Eid
Returns the unique volume id in this repository.
pub fn version(&self) -> String
[src]
pub fn version(&self) -> String
Returns repository version string.
This is the string representation of this repository, for example,
1.0.2
.
pub fn uri(&self) -> &str
[src]
pub fn uri(&self) -> &str
Returns the location URI string of this repository.
pub fn ops_limit(&self) -> OpsLimit
[src]
pub fn ops_limit(&self) -> OpsLimit
Returns the operation limit for repository password hash.
pub fn mem_limit(&self) -> MemLimit
[src]
pub fn mem_limit(&self) -> MemLimit
Returns the memory limit for repository password hash
pub fn cipher(&self) -> Cipher
[src]
pub fn cipher(&self) -> Cipher
Returns repository password encryption cipher.
pub fn compress(&self) -> bool
[src]
pub fn compress(&self) -> bool
Returns whether compression is enabled.
pub fn version_limit(&self) -> u8
[src]
pub fn version_limit(&self) -> u8
Returns the default maximum number of file versions.
pub fn dedup_chunk(&self) -> bool
[src]
pub fn dedup_chunk(&self) -> bool
Returns whether the file data chunk deduplication is enabled.
pub fn is_read_only(&self) -> bool
[src]
pub fn is_read_only(&self) -> bool
Returns whether this repository is read-only.
pub fn created(&self) -> SystemTime
[src]
pub fn created(&self) -> SystemTime
Returns the creation time of this repository.