pub enum InviteAccess {
ProviderAccount {
email: String,
},
S3AccessKey {
access_key_id: String,
secret_access_key: SecretText,
},
HeldS3AccessKey,
}Expand description
How the invited person reaches the store’s provider.
Variants§
ProviderAccount
Share with the named provider account.
S3AccessKey
Credentials created in the S3 console for this invite.
Fields
§
secret_access_key: SecretTextThe key’s secret, carried only in the invitation.
HeldS3AccessKey
The S3 key this device connects with, which coven reads from its custody, so the secret never reaches the app (§14.3).
Trait Implementations§
Source§impl Clone for InviteAccess
impl Clone for InviteAccess
Source§fn clone(&self) -> InviteAccess
fn clone(&self) -> InviteAccess
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 InviteAccess
impl RefUnwindSafe for InviteAccess
impl Send for InviteAccess
impl Sync for InviteAccess
impl Unpin for InviteAccess
impl UnsafeUnpin for InviteAccess
impl UnwindSafe for InviteAccess
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> 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.