DittoAttachmentTokenLike

Trait DittoAttachmentTokenLike 

Source
pub trait DittoAttachmentTokenLike {
    // Required method
    fn parse_attachment_token(self) -> Result<DittoAttachmentToken, DittoError>;
}
Expand description

Trait abstracting over DittoAttachmentToken and a QueryResultItem::value() matching an input DittoAttachment.

Required Methods§

Source

fn parse_attachment_token(self) -> Result<DittoAttachmentToken, DittoError>

Resolve the token-like object to a DittoAttachmentToken

Implementations on Foreign Types§

Source§

impl DittoAttachmentTokenLike for &BTreeMap<CborValue, CborValue>

Source§

impl DittoAttachmentTokenLike for BTreeMap<CborValue, CborValue>

Implementors§