pub struct Onboarded {
pub onboarding_id: OnboardingId,
pub session: Session,
}Expand description
The result of a successful onboarding or rejoin.
Fields§
§onboarding_id: OnboardingId👎Deprecated:
onboarding ids only serve rejoin and forget, which are deprecated: a local app, a companion and a member hub’s app store nothing and onboard on every start
The persisted slot’s key, the ticket for the deprecated Runtime::rejoin and
Runtime::forget. Zero for a local app (OnboardMethod::LocalApp) and on a runtime
with RuntimeConfig::ephemeral_storage: nothing to persist. A rejoin echoes its id.
session: SessionTrait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Onboarded
impl !Send for Onboarded
impl !Sync for Onboarded
impl !UnwindSafe for Onboarded
impl Freeze for Onboarded
impl Unpin for Onboarded
impl UnsafeUnpin for Onboarded
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