pub enum KnowledgeHolderPolicy {
Disallowed,
Allowed,
}Expand description
Whether a domain entity schema may receive holder-relative knowledge.
Variants§
Trait Implementations§
Source§impl Clone for KnowledgeHolderPolicy
impl Clone for KnowledgeHolderPolicy
Source§fn clone(&self) -> KnowledgeHolderPolicy
fn clone(&self) -> KnowledgeHolderPolicy
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 moreimpl Copy for KnowledgeHolderPolicy
Source§impl Debug for KnowledgeHolderPolicy
impl Debug for KnowledgeHolderPolicy
Source§impl Default for KnowledgeHolderPolicy
impl Default for KnowledgeHolderPolicy
Source§fn default() -> KnowledgeHolderPolicy
fn default() -> KnowledgeHolderPolicy
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for KnowledgeHolderPolicy
impl<'de> Deserialize<'de> for KnowledgeHolderPolicy
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<KnowledgeHolderPolicy, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<KnowledgeHolderPolicy, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for KnowledgeHolderPolicy
Source§impl PartialEq for KnowledgeHolderPolicy
impl PartialEq for KnowledgeHolderPolicy
Source§impl Serialize for KnowledgeHolderPolicy
impl Serialize for KnowledgeHolderPolicy
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 StructuralPartialEq for KnowledgeHolderPolicy
Auto Trait Implementations§
impl Freeze for KnowledgeHolderPolicy
impl RefUnwindSafe for KnowledgeHolderPolicy
impl Send for KnowledgeHolderPolicy
impl Sync for KnowledgeHolderPolicy
impl Unpin for KnowledgeHolderPolicy
impl UnsafeUnpin for KnowledgeHolderPolicy
impl UnwindSafe for KnowledgeHolderPolicy
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