Struct zbox::Version [−][src]
pub struct Version { /* fields omitted */ }
A representation of a permanent file content.
Methods
impl Version
[src]
impl Version
pub fn num(&self) -> usize
[src]
pub fn num(&self) -> usize
Returns the version number of this content.
The version number starts from 1 and continuously increases by 1.
pub fn len(&self) -> usize
[src]
pub fn len(&self) -> usize
Returns the byte length of this version of content.
pub fn created(&self) -> SystemTime
[src]
pub fn created(&self) -> SystemTime
Returns the creation time of this version of content.
Trait Implementations
impl Debug for Version
[src]
impl Debug for Version
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Default for Version
[src]
impl Default for Version
impl Clone for Version
[src]
impl Clone for Version