pub struct CloneAuthorizationKeyring {
pub format_version: u32,
pub spool_uuid: Vec<u8>,
pub canonical_spool_path_segments: Vec<String>,
pub pin: Option<CloneOwnerPin>,
pub owner_root: Option<SignedOwnerRoot>,
pub accepted_transitions: Vec<SignedOwnerKeyTransition>,
pub accepted_state_hash: Vec<u8>,
pub public_access_capabilities: Vec<SignedOwnerCapability>,
}Expand description
This wrapper is not signed. Its authority comes only from the verified signed objects it contains. Loading it recomputes every id/hash and verifies the full chain; unknown versions, gaps, duplicate sequences, forks, owner-id mismatch, or capabilities for another spool fail closed.
Fields§
§format_version: u32Exactly 1.
spool_uuid: Vec<u8>Raw 16-byte spool UUID.
canonical_spool_path_segments: Vec<String>§pin: Option<CloneOwnerPin>§owner_root: Option<SignedOwnerRoot>§accepted_transitions: Vec<SignedOwnerKeyTransition>§accepted_state_hash: Vec<u8>§public_access_capabilities: Vec<SignedOwnerCapability>Trait Implementations§
Source§impl Clone for CloneAuthorizationKeyring
impl Clone for CloneAuthorizationKeyring
Source§fn clone(&self) -> CloneAuthorizationKeyring
fn clone(&self) -> CloneAuthorizationKeyring
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CloneAuthorizationKeyring
impl Debug for CloneAuthorizationKeyring
Source§impl Default for CloneAuthorizationKeyring
impl Default for CloneAuthorizationKeyring
Source§impl Message for CloneAuthorizationKeyring
impl Message for CloneAuthorizationKeyring
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.impl StructuralPartialEq for CloneAuthorizationKeyring
Auto Trait Implementations§
impl Freeze for CloneAuthorizationKeyring
impl RefUnwindSafe for CloneAuthorizationKeyring
impl Send for CloneAuthorizationKeyring
impl Sync for CloneAuthorizationKeyring
impl Unpin for CloneAuthorizationKeyring
impl UnsafeUnpin for CloneAuthorizationKeyring
impl UnwindSafe for CloneAuthorizationKeyring
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