Trait dubp_documents::prelude::ToStringObject[][src]

pub trait ToStringObject {
    type StringObject: Serialize;
    fn to_string_object(&self) -> Self::StringObject;
}

Stringify a document

Associated Types

type StringObject: Serialize[src]

Generated string object

Loading content...

Required methods

fn to_string_object(&self) -> Self::StringObject[src]

Transforms object fields into string

Loading content...

Implementors

impl ToStringObject for CertificationDocument[src]

impl ToStringObject for DubpDocument[src]

impl ToStringObject for IdentityDocument[src]

impl ToStringObject for MembershipDocument[src]

impl ToStringObject for CompactRevocationDocument[src]

impl ToStringObject for RevocationDocument[src]

impl ToStringObject for TransactionDocument[src]

impl ToStringObject for CertificationDocumentV10[src]

impl ToStringObject for CompactCertificationDocumentV10[src]

impl ToStringObject for IdentityDocumentV10[src]

type StringObject = IdentityDocumentV10Stringified

fn to_string_object(&self) -> IdentityDocumentV10Stringified[src]

Transforms an object into a json object

impl ToStringObject for MembershipDocumentV10[src]

impl ToStringObject for CompactRevocationDocumentV10[src]

impl ToStringObject for RevocationDocumentV10[src]

impl ToStringObject for TransactionDocumentV10[src]

Loading content...