pub enum ProviderHintPolicy {
SchemaRequired,
SchemaOptional,
ProviderNativeHint,
}Expand description
Enumerates the finite provider hint policy cases. Serialized names are part of the SDK contract; update fixtures when variants change.
Variants§
SchemaRequired
Use this variant when the contract needs to represent schema required; selecting it has no side effect by itself.
SchemaOptional
Use this variant when the contract needs to represent schema optional; selecting it has no side effect by itself.
ProviderNativeHint
Use this variant when the contract needs to represent provider native hint; selecting it has no side effect by itself.
Trait Implementations§
Source§impl Clone for ProviderHintPolicy
impl Clone for ProviderHintPolicy
Source§fn clone(&self) -> ProviderHintPolicy
fn clone(&self) -> ProviderHintPolicy
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 ProviderHintPolicy
impl Debug for ProviderHintPolicy
Source§impl<'de> Deserialize<'de> for ProviderHintPolicy
impl<'de> Deserialize<'de> for ProviderHintPolicy
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
Source§impl PartialEq for ProviderHintPolicy
impl PartialEq for ProviderHintPolicy
Source§fn eq(&self, other: &ProviderHintPolicy) -> bool
fn eq(&self, other: &ProviderHintPolicy) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ProviderHintPolicy
impl Serialize for ProviderHintPolicy
impl Eq for ProviderHintPolicy
impl StructuralPartialEq for ProviderHintPolicy
Auto Trait Implementations§
impl Freeze for ProviderHintPolicy
impl RefUnwindSafe for ProviderHintPolicy
impl Send for ProviderHintPolicy
impl Sync for ProviderHintPolicy
impl Unpin for ProviderHintPolicy
impl UnsafeUnpin for ProviderHintPolicy
impl UnwindSafe for ProviderHintPolicy
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