[][src]Trait dubp_documents::ToStringObject

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

Stringify a document

Associated Types

Loading content...

Required methods

fn to_string_object(&self) -> Self::StringObject

Transforms object fields into string

Loading content...

Implementors

impl ToStringObject for DUBPDocument[src]

type StringObject = DUBPDocumentStr

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

Transforms an object into a json object

impl ToStringObject for CertificationDocument[src]

type StringObject = CertificationStringDocument

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

Transforms an object into a json object

impl ToStringObject for IdentityDocument[src]

type StringObject = IdentityStringDocument

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

Transforms an object into a json object

impl ToStringObject for MembershipDocument[src]

type StringObject = MembershipStringDocument

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

Transforms an object into a json object

impl ToStringObject for RevocationDocument[src]

type StringObject = RevocationStringDocument

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

Transforms an object into a json object

impl ToStringObject for TransactionDocument[src]

type StringObject = TransactionDocumentStringified

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

Transforms an object into a json object

Loading content...