Struct ots::ser::DetachedTimestampFile
[−]
[src]
pub struct DetachedTimestampFile { pub digest_type: DigestType, pub timestamp: Timestamp, }
Structure representing an info file
Fields
digest_type: DigestType
The claimed hash function used to produce the document digest
timestamp: Timestamp
The actual timestamp data
Methods
impl DetachedTimestampFile
[src]
fn from_reader<R: Read>(reader: R) -> Result<DetachedTimestampFile, Error>
Deserialize a info file from a reader
fn to_writer<W: Write>(&self, writer: W) -> Result<(), Error>
Serialize the file into a reader
Trait Implementations
impl Clone for DetachedTimestampFile
[src]
fn clone(&self) -> DetachedTimestampFile
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
impl PartialEq for DetachedTimestampFile
[src]
fn eq(&self, __arg_0: &DetachedTimestampFile) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &DetachedTimestampFile) -> bool
This method tests for !=
.