pub struct SavedRestoreCode {
pub name: String,
pub store_id: StoreId,
pub location: StorageConfig,
pub has_s3_credentials: bool,
}Expand description
A store whose restore code is saved in iCloud Keychain or Block Store, without secrets.
Fields§
§name: StringThe store’s name as one of the person’s devices last saw it: a label only, never used to find the store. A rename made while none of their devices had the store open leaves it unchanged (§13.1).
store_id: StoreIdThe store named by the saved code.
location: StorageConfigThe code’s provider and account or location, with no credentials.
provider() identifies the provider; oauth_access() names its sign-in requirement.
has_s3_credentials: boolWhether a separate S3 key was present when this entry was listed.
Trait Implementations§
Source§impl Clone for SavedRestoreCode
impl Clone for SavedRestoreCode
Source§fn clone(&self) -> SavedRestoreCode
fn clone(&self) -> SavedRestoreCode
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 moreSource§impl Debug for SavedRestoreCode
impl Debug for SavedRestoreCode
Source§impl PartialEq for SavedRestoreCode
impl PartialEq for SavedRestoreCode
impl Eq for SavedRestoreCode
impl StructuralPartialEq for SavedRestoreCode
Auto Trait Implementations§
impl Freeze for SavedRestoreCode
impl RefUnwindSafe for SavedRestoreCode
impl Send for SavedRestoreCode
impl Sync for SavedRestoreCode
impl Unpin for SavedRestoreCode
impl UnsafeUnpin for SavedRestoreCode
impl UnwindSafe for SavedRestoreCode
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§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.