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 hash of the Entry’s parent Document.

Get the Entry’s string key.

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.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.