pub struct EntryV2Config {
pub audit_key: Arc<KeyPair>,
pub genesis_roles: Vec<(KeyRole, Arc<KeyPair>)>,
pub principals: Option<Arc<dyn PrincipalUidResolver>>,
}Expand description
How to sign format-v2 entries.
Fields§
§audit_key: Arc<KeyPair>The audit signing key. It must be the registry’s active audit key, or become it when this call creates the registry.
genesis_roles: Vec<(KeyRole, Arc<KeyPair>)>Keys registered for other roles when this call creates the registry, for example the runtime key as capability, build and audit-v1 key. Ignored when the registry already exists.
principals: Option<Arc<dyn PrincipalUidResolver>>Resolves principal aliases to durable UIDs. Without it, and for an
alias it cannot resolve, entries carry a null UID.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for EntryV2Config
impl !UnwindSafe for EntryV2Config
impl Freeze for EntryV2Config
impl Send for EntryV2Config
impl Sync for EntryV2Config
impl Unpin for EntryV2Config
impl UnsafeUnpin for EntryV2Config
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