pub struct BannerInputs {
pub configured_permissions_mode: Option<PermissionsMode>,
pub auto_generated_keypair_path: Option<String>,
pub identity_disabled: bool,
}Expand description
Inputs to the banner composer. All fields are derived from
AppConfig and the runtime keypair-bootstrap result; the composer
itself is pure and side-effect free.
Fields§
§configured_permissions_mode: Option<PermissionsMode>Some(mode) when the operator explicitly set
[permissions].mode in config.toml. None when the field is
absent (the F8 migration warning fires in this case).
auto_generated_keypair_path: Option<String>Some(path) when the F12 keypair-autogen path created a fresh
keypair this boot. None when one already existed or the
auto-gen was disabled by [identity].disabled = true.
identity_disabled: booltrue when the operator has set [identity].disabled = true
in config — the daemon emits a single line acknowledging the
opt-out so an unsigned-link deployment is intentional, not
silent.
Trait Implementations§
Source§impl Clone for BannerInputs
impl Clone for BannerInputs
Source§fn clone(&self) -> BannerInputs
fn clone(&self) -> BannerInputs
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 moreAuto Trait Implementations§
impl Freeze for BannerInputs
impl RefUnwindSafe for BannerInputs
impl Send for BannerInputs
impl Sync for BannerInputs
impl Unpin for BannerInputs
impl UnsafeUnpin for BannerInputs
impl UnwindSafe for BannerInputs
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more