pub struct ThreadControlAuthority {
pub format: u32,
pub owner: Option<OwnerHistory>,
pub mint_root_public_key: Vec<u8>,
pub sealed_biscuit: Vec<u8>,
pub mint_root_association: Option<MintRootAssociation>,
}Expand description
Original author evidence bound into each signed Thread metadata operation. Supplied history never establishes trust: receivers verify against separately admitted current account authority at first durable admission. Canonical protobuf encoding is mandatory and the entire envelope is bounded to 64 KiB.
Fields§
§format: u32Must be 1.
owner: Option<OwnerHistory>§mint_root_public_key: Vec<u8>Ed25519, exactly 32 bytes.
sealed_biscuit: Vec<u8>Sealed Biscuit only: never publish an appendable credential’s proof secret.
mint_root_association: Option<MintRootAssociation>Durable owner-signed roots and temporary passkey roots are deliberately distinct proof shapes; verifiers never reinterpret one as the other. A verifier MUST scan the raw message before protobuf decoding and reject an encoding containing both tags 4 and 6; oneof last-wins decoding is unsafe.
Trait Implementations§
Source§impl Clone for ThreadControlAuthority
impl Clone for ThreadControlAuthority
Source§impl Debug for ThreadControlAuthority
impl Debug for ThreadControlAuthority
Source§impl Default for ThreadControlAuthority
impl Default for ThreadControlAuthority
Source§impl Message for ThreadControlAuthority
impl Message for ThreadControlAuthority
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
Source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
Encodes the message to a buffer. Read more
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Encodes the message to a newly allocated buffer.
Source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
Encodes the message with a length-delimiter to a buffer. Read more
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Encodes the message with a length-delimiter to a newly allocated buffer.
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Decodes an instance of the message from a buffer. Read more
Source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Decodes a length-delimited instance of the message from the buffer.
Source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
Decodes an instance of the message from a buffer, and merges it into
self. Read moreSource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
Decodes a length-delimited instance of the message from buffer, and
merges it into
self.Source§impl PartialEq for ThreadControlAuthority
impl PartialEq for ThreadControlAuthority
impl StructuralPartialEq for ThreadControlAuthority
Auto Trait Implementations§
impl Freeze for ThreadControlAuthority
impl RefUnwindSafe for ThreadControlAuthority
impl Send for ThreadControlAuthority
impl Sync for ThreadControlAuthority
impl Unpin for ThreadControlAuthority
impl UnsafeUnpin for ThreadControlAuthority
impl UnwindSafe for ThreadControlAuthority
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more