Skip to content

Struct command::object::Attachment

zaun_community_protocol::command::object::Attachment · Struct

pub struct Attachment { … }

An attachment record: what a message carries, and what attachment.download and attachment.updated answer.

Host-assigned id.

File name.

Size in bytes.

MIME type.

SHA3-256 of the bytes, base64url.

Whether the host still holds the bytes.

Why an upload never became stored; only with availability: failed.

Clone, Debug, Deserialize<'de>, Eq, PartialEq, Serialize, StructuralPartialEq

Full rustdoc page