pub struct Readiness {
pub author_ready: bool,
pub maintainer_ready: bool,
pub read_only: bool,
}Expand description
Whether each signing role’s key material is available to the current session, plus whether the session is in read-only mode.
This carries no key material — only presence flags. It is the input to Capability::derive.
Fields§
True when an AUTHOR key id and seed are both present in the environment (presence only — the
seed value is never read; see stikk-prikk::env).
maintainer_ready: boolTrue when a MAINTAINER key id and seed are both present in the environment (presence only).
read_only: boolTrue when the session is in read-only mode (a global override, or the default when no signing
readiness is present). When set, no capability above Capability::Viewer is granted.
Implementations§
Trait Implementations§
impl Copy for Readiness
impl Eq for Readiness
impl StructuralPartialEq for Readiness
Auto Trait Implementations§
impl Freeze for Readiness
impl RefUnwindSafe for Readiness
impl Send for Readiness
impl Sync for Readiness
impl Unpin for Readiness
impl UnsafeUnpin for Readiness
impl UnwindSafe for Readiness
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