ToStringObject

Trait ToStringObject 

Source
pub trait ToStringObject {
    type StringObject: Serialize;

    // Required method
    fn to_string_object(&self) -> Self::StringObject;
}
Expand description

Stringify a document

Required Associated Types§

Source

type StringObject: Serialize

Generated string object

Required Methods§

Source

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

Transforms object fields into string

Implementors§

Source§

impl ToStringObject for CertificationDocument

Source§

impl ToStringObject for DubpDocument

Source§

impl ToStringObject for IdentityDocument

Source§

impl ToStringObject for MembershipDocument

Source§

impl ToStringObject for CompactRevocationDocument

Source§

impl ToStringObject for RevocationDocument

Source§

impl ToStringObject for TransactionDocument

Source§

impl ToStringObject for CertificationDocumentV10

Source§

impl ToStringObject for CompactCertificationDocumentV10

Source§

impl ToStringObject for IdentityDocumentV10

Source§

impl ToStringObject for MembershipDocumentV10

Source§

impl ToStringObject for CompactRevocationDocumentV10

Source§

impl ToStringObject for RevocationDocumentV10

Source§

impl ToStringObject for TransactionDocumentV10