pub enum ProviderAccessLocator {
S3SharedCredentialGeneration {
generation: u64,
access_key_id_hash: ObjectHash,
},
GoogleDrivePermission {
drive_id: String,
permission_id: String,
},
DropboxSharedFolderMember {
namespace_id: String,
account_id: String,
},
OneDrivePermission {
drive_id: String,
item_id: String,
permission_id: String,
},
CloudKitPrivateZoneOwner {
owner_name: String,
zone_name: String,
owner_record_name: String,
},
CloudKitParticipant {
share_record_name: String,
owner_name: String,
zone_name: String,
participant_record_name: String,
},
}Expand description
Stable provider authority that can be withdrawn without rediscovering a member by mutable account metadata.
Variants§
Implementations§
Source§impl ProviderAccessLocator
impl ProviderAccessLocator
pub fn for_current_administrator( binding: &ResolvedProviderBinding, ) -> Result<ProviderAccessLocator, StorageError>
pub fn validate_for( &self, store: &StoreProviderBinding, provider: &ProviderDeviceBinding, ) -> Result<(), StorageError>
Trait Implementations§
Source§impl Clone for ProviderAccessLocator
impl Clone for ProviderAccessLocator
Source§fn clone(&self) -> ProviderAccessLocator
fn clone(&self) -> ProviderAccessLocator
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 ProviderAccessLocator
impl Debug for ProviderAccessLocator
Source§impl<'de> Deserialize<'de> for ProviderAccessLocator
impl<'de> Deserialize<'de> for ProviderAccessLocator
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ProviderAccessLocator, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ProviderAccessLocator, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ProviderAccessLocator
impl PartialEq for ProviderAccessLocator
Source§impl Serialize for ProviderAccessLocator
impl Serialize for ProviderAccessLocator
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Eq for ProviderAccessLocator
impl StructuralPartialEq for ProviderAccessLocator
Auto Trait Implementations§
impl Freeze for ProviderAccessLocator
impl RefUnwindSafe for ProviderAccessLocator
impl Send for ProviderAccessLocator
impl Sync for ProviderAccessLocator
impl Unpin for ProviderAccessLocator
impl UnsafeUnpin for ProviderAccessLocator
impl UnwindSafe for ProviderAccessLocator
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.