[][src]Struct zbox::RepoInfo

pub struct RepoInfo { /* fields omitted */ }

Information about a repository.

This structure is returned from the Repo::info represents known metadata about a repository such as its volume ID, version, URI, creation times and etc.


impl RepoInfo[src]

pub fn volume_id(&self) -> &Eid[src]

Returns the unique volume id of this repository.

pub fn version(&self) -> String[src]

Returns repository version as string.

This is the string representation of the repository version, for example, 0.6.0.

pub fn uri(&self) -> &str[src]

Returns the location URI string of this repository.

pub fn ops_limit(&self) -> OpsLimit[src]

Returns the operation limit for repository password hash.

pub fn mem_limit(&self) -> MemLimit[src]

Returns the memory limit for repository password hash

pub fn cipher(&self) -> Cipher[src]

Returns repository password encryption cipher.

pub fn compress(&self) -> bool[src]

Returns whether compression is enabled.

pub fn version_limit(&self) -> u8[src]

Returns the default maximum number of file versions.

pub fn dedup_chunk(&self) -> bool[src]

Returns whether the file data chunk deduplication is enabled.

pub fn is_read_only(&self) -> bool[src]

Returns whether this repository is read-only.

pub fn created_at(&self) -> SystemTime[src]

Returns the creation time of this repository.

Trait Implementations

impl Debug for RepoInfo[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

impl<T> Any for T where
    T: 'static + ?Sized