pub struct Enrolled {
pub principal: Principal,
pub key: PublicKey,
pub record: BootstrapRecord,
}Expand description
What AuthTable::enroll_first_user created: the principal, its key, and
the record that shut the door behind it.
Fields§
§principal: PrincipalThe principal that was created. Its id is also its account name.
key: PublicKeyThe key it was created with.
record: BootstrapRecordThe record that shut the enrolment window.
Trait Implementations§
impl Eq for Enrolled
impl StructuralPartialEq for Enrolled
Auto Trait Implementations§
impl Freeze for Enrolled
impl RefUnwindSafe for Enrolled
impl Send for Enrolled
impl Sync for Enrolled
impl Unpin for Enrolled
impl UnsafeUnpin for Enrolled
impl UnwindSafe for Enrolled
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.