pub struct PolicyIdentity(/* private fields */);Expand description
PolicyIdentity
Host-issued token binding one prepared runtime bootstrap policy configuration.
All 32-byte values are valid. Hosts choose a stable token and change it when policy semantics or effective configuration change. Names, versions, hashing and fallible configuration preparation stay with the host. The token is an equality binding, not authentication or proof that a policy is correct. It is retained in memory and serialized for diagnostics, never persisted in the allocation ledger. Diagnostic JSON contains a 32-element byte array.
Implementations§
Trait Implementations§
Source§impl Clone for PolicyIdentity
impl Clone for PolicyIdentity
impl Copy for PolicyIdentity
Source§impl Debug for PolicyIdentity
impl Debug for PolicyIdentity
impl Eq for PolicyIdentity
Source§impl PartialEq for PolicyIdentity
impl PartialEq for PolicyIdentity
Source§impl Serialize for PolicyIdentity
impl Serialize for PolicyIdentity
impl StructuralPartialEq for PolicyIdentity
Auto Trait Implementations§
impl Freeze for PolicyIdentity
impl RefUnwindSafe for PolicyIdentity
impl Send for PolicyIdentity
impl Sync for PolicyIdentity
impl Unpin for PolicyIdentity
impl UnsafeUnpin for PolicyIdentity
impl UnwindSafe for PolicyIdentity
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