Struct dir_signature::v1::Header
[−]
[src]
pub struct Header { /* fields omitted */ }
Represents header of the dir signature file
Methods
impl Header
[src]
fn get_version(&self) -> &str
Returns version of the signature file
fn get_hash_type(&self) -> HashType
Returns hashing algorithm
fn get_block_size(&self) -> u64
Returns block size
Trait Implementations
impl Debug for Header
[src]
impl Clone for Header
[src]
fn clone(&self) -> Header
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more