#[non_exhaustive]pub struct SeedWaitpointHmacSecretArgs {
pub kid: String,
pub secret_hex: String,
}Expand description
Args for [EngineBackend::seed_waitpoint_hmac_secret].
Two required fields and no optional knobs, so there is no fluent
builder — just new(kid, secret_hex). #[non_exhaustive] is kept
(with the paired constructor, per the project memory rule) so
future additive knobs don’t break callers.
Boot-time provisioning entry point for fresh deployments — see
issue #280 for why cairn needed this in addition to
RotateWaitpointHmacSecretAllArgs. Unlike rotate, seed is
idempotent: callers invoke it on every boot and the backend
decides whether to install.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.kid: String§secret_hex: StringImplementations§
Trait Implementations§
Source§impl Clone for SeedWaitpointHmacSecretArgs
impl Clone for SeedWaitpointHmacSecretArgs
Source§fn clone(&self) -> SeedWaitpointHmacSecretArgs
fn clone(&self) -> SeedWaitpointHmacSecretArgs
Returns a duplicate of the value. Read more
1.0.0 · 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 SeedWaitpointHmacSecretArgs
impl RefUnwindSafe for SeedWaitpointHmacSecretArgs
impl Send for SeedWaitpointHmacSecretArgs
impl Sync for SeedWaitpointHmacSecretArgs
impl Unpin for SeedWaitpointHmacSecretArgs
impl UnsafeUnpin for SeedWaitpointHmacSecretArgs
impl UnwindSafe for SeedWaitpointHmacSecretArgs
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