Struct fog_pack::entry::Entry [−][src]
pub struct Entry { /* fields omitted */ }Expand description
Holds serialized data associated with a parent document and a key string.
An Entry holds a piece of serialized data, which may be deserialized by calling
deserialize.
Implementations
Get the Identity of the signer of this document, if the document is signed.
Get the hash of the complete entry. This can change if the entry is signed again with the
sign function.
Deserialize the entry’s contained data into a value.
Override the default compression settings. None will disable compression. Some(level)
will compress with the provided level as the setting for the algorithm.
Sign the entry, or or replace the existing signature if one exists already. Fails if the signature would grow the entry size beyond the maximum allowed. In the event of a failure. the entry is unmodified.