pub struct MemoryKeyScope {
pub org_id: String,
pub workspace_id: String,
pub deployment_id: Option<String>,
pub data_class: DataClass,
pub source_binding_id: Option<String>,
}Fields§
§org_id: String§workspace_id: String§deployment_id: Option<String>§data_class: DataClass§source_binding_id: Option<String>Implementations§
Source§impl MemoryKeyScope
impl MemoryKeyScope
pub fn new( tenant_scope: &MemoryTenantScope, data_class: DataClass, source_binding_id: Option<String>, ) -> Self
pub fn canonical_id(&self) -> String
Trait Implementations§
Source§impl Clone for MemoryKeyScope
impl Clone for MemoryKeyScope
Source§fn clone(&self) -> MemoryKeyScope
fn clone(&self) -> MemoryKeyScope
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 MemoryKeyScope
impl Debug for MemoryKeyScope
Source§impl<'de> Deserialize<'de> for MemoryKeyScope
impl<'de> Deserialize<'de> for MemoryKeyScope
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 MemoryKeyScope
Source§impl PartialEq for MemoryKeyScope
impl PartialEq for MemoryKeyScope
Source§fn eq(&self, other: &MemoryKeyScope) -> bool
fn eq(&self, other: &MemoryKeyScope) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for MemoryKeyScope
impl Serialize for MemoryKeyScope
impl StructuralPartialEq for MemoryKeyScope
Auto Trait Implementations§
impl Freeze for MemoryKeyScope
impl RefUnwindSafe for MemoryKeyScope
impl Send for MemoryKeyScope
impl Sync for MemoryKeyScope
impl Unpin for MemoryKeyScope
impl UnsafeUnpin for MemoryKeyScope
impl UnwindSafe for MemoryKeyScope
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.