pub struct Creation<'a> {
pub store: StoreId,
pub name: String,
pub device: DeviceId,
pub device_name: String,
pub member: &'a MemberIdentity,
pub person: String,
pub circle: NewCircle,
pub circles: Vec<NewCircle>,
pub ring: &'a StoreKeyring,
}Expand description
What slot 1 sets up: the store, its first admin with her join facts, her
first device, the first store key and the circles’ first keys ring
holds.
Fields§
§store: StoreIdThe new store’s id.
name: StringThe store’s name.
device: DeviceIdThis installation’s device id.
device_name: StringThe name of this installation, the first admin’s first device.
member: &'a MemberIdentityThe first admin, who signs slot 1.
person: StringThe creator’s name, which her devices’ joining write reads (§13.2).
circle: NewCircleThe creator’s private circle, whose only member she is.
circles: Vec<NewCircle>The circles the creator’s first write asks for, each with the creator as its first member.
ring: &'a StoreKeyringThe custody ring holding the first store key and each circle’s first key, and no other.
Auto Trait Implementations§
impl<'a> Freeze for Creation<'a>
impl<'a> RefUnwindSafe for Creation<'a>
impl<'a> Send for Creation<'a>
impl<'a> Sync for Creation<'a>
impl<'a> Unpin for Creation<'a>
impl<'a> UnsafeUnpin for Creation<'a>
impl<'a> UnwindSafe for Creation<'a>
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
impl<T> ErasedDestructor for Twhere
T: 'static,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> 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 moreCreates a shared type from an unshared type.