Skip to content

Struct command::object::Opaque

zaun_community_protocol::command::object::Opaque · Struct

pub struct Opaque(…)

Opaque bytes, base64url on the wire (key packages, wrapped keys, signalling data).

pub fn as_bytes(&self) -> &[u8]

The bytes.

pub fn len(&self) -> usize

Their length.

pub fn is_empty(&self) -> bool

Whether there are none.

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

Full rustdoc page