pub struct BootstrapRecord {
pub at: UnixMillis,
pub principal_id: String,
pub fingerprint: String,
pub account: String,
}Expand description
The record that the unauthenticated enrolment window has been used.
Written once, never rewritten, never removed. Every field is here so an operator can answer who opened this server, with which key, and when from the server itself rather than from a log that may have rotated.
Fields§
§at: UnixMillisWhen the window closed.
principal_id: StringThe principal that was created. It may since have been removed; the record still stands, which is the point.
fingerprint: StringThe SHA256:… fingerprint of the key it was created with.
account: StringThe account (namespace) that principal is intrinsically admin of. Equal
to principal_id; carried explicitly so a later change to that rule is
a visible schema change and not a silent re-derivation.
Trait Implementations§
Source§impl Clone for BootstrapRecord
impl Clone for BootstrapRecord
Source§impl Debug for BootstrapRecord
impl Debug for BootstrapRecord
Source§impl<'de> Deserialize<'de> for BootstrapRecord
impl<'de> Deserialize<'de> for BootstrapRecord
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for BootstrapRecord
Source§impl PartialEq for BootstrapRecord
impl PartialEq for BootstrapRecord
Source§impl Serialize for BootstrapRecord
impl Serialize for BootstrapRecord
impl StructuralPartialEq for BootstrapRecord
Auto Trait Implementations§
impl Freeze for BootstrapRecord
impl RefUnwindSafe for BootstrapRecord
impl Send for BootstrapRecord
impl Sync for BootstrapRecord
impl Unpin for BootstrapRecord
impl UnsafeUnpin for BootstrapRecord
impl UnwindSafe for BootstrapRecord
Blanket Implementations§
impl<T> Allocation for T
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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