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§
Sourcefn parse_attachment_token(self) -> Result<DittoAttachmentToken, DittoError>
fn parse_attachment_token(self) -> Result<DittoAttachmentToken, DittoError>
Resolve the token-like object to a DittoAttachmentToken