pub struct MemoryDecryptPrincipal {
pub principal_id: String,
pub purpose: MemoryDecryptPurpose,
pub tenant_scope: MemoryTenantScope,
pub allowed_data_classes: Vec<DataClass>,
pub allowed_source_binding_ids: Vec<String>,
}Fields§
§principal_id: String§purpose: MemoryDecryptPurpose§tenant_scope: MemoryTenantScope§allowed_data_classes: Vec<DataClass>§allowed_source_binding_ids: Vec<String>Implementations§
Source§impl MemoryDecryptPrincipal
impl MemoryDecryptPrincipal
pub fn retrieval_gateway( principal_id: impl Into<String>, tenant_scope: MemoryTenantScope, allowed_data_classes: Vec<DataClass>, allowed_source_binding_ids: Vec<String>, ) -> Self
Trait Implementations§
Source§impl Clone for MemoryDecryptPrincipal
impl Clone for MemoryDecryptPrincipal
Source§fn clone(&self) -> MemoryDecryptPrincipal
fn clone(&self) -> MemoryDecryptPrincipal
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 MemoryDecryptPrincipal
impl Debug for MemoryDecryptPrincipal
Source§impl<'de> Deserialize<'de> for MemoryDecryptPrincipal
impl<'de> Deserialize<'de> for MemoryDecryptPrincipal
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for MemoryDecryptPrincipal
Source§impl PartialEq for MemoryDecryptPrincipal
impl PartialEq for MemoryDecryptPrincipal
Source§fn eq(&self, other: &MemoryDecryptPrincipal) -> bool
fn eq(&self, other: &MemoryDecryptPrincipal) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for MemoryDecryptPrincipal
impl Serialize for MemoryDecryptPrincipal
impl StructuralPartialEq for MemoryDecryptPrincipal
Auto Trait Implementations§
impl Freeze for MemoryDecryptPrincipal
impl RefUnwindSafe for MemoryDecryptPrincipal
impl Send for MemoryDecryptPrincipal
impl Sync for MemoryDecryptPrincipal
impl Unpin for MemoryDecryptPrincipal
impl UnsafeUnpin for MemoryDecryptPrincipal
impl UnwindSafe for MemoryDecryptPrincipal
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> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.