[][src]Crate dubp_documents

Implements the Durs Documents Protocol.

Re-exports

pub use crate::blockstamp::Blockstamp;
pub use crate::blockstamp::PreviousBlockstamp;

Modules

blockstamp

Wrapper for blockstamp

documents

Implements the Durs blockchain Documents.

parsers
text_document_traits

Define the Text Document Traits.

Structs

BlockHash

Wrapper of a block hash.

BlockId

A block Id.

CurrencyName

Currency name

Enums

CurrencyCodeError

CurrencyCodeError

Rule
TextDocumentParseError

List of possible errors while parsing.

VerificationResult

List of possible results for signature verification.

Traits

Document

trait providing commun methods for any documents of any protocol version.

DocumentBuilder

Trait helper for building new documents.

DocumentParser

Trait for a document parser from a S source format to a D document. Will return the parsed document or an E error.

IntoSpecializedDocument

Trait allowing access to the document through it's proper protocol version.

TextDocumentParser
ToJsonObject

Jsonify a document

ToStringObject

Stringify a document