pub struct ProviderSupport {
pub state: ProviderSupportState,
pub reason: Option<SafeCode>,
}Fields§
§state: ProviderSupportState§reason: Option<SafeCode>Trait Implementations§
Source§impl Clone for ProviderSupport
impl Clone for ProviderSupport
Source§fn clone(&self) -> ProviderSupport
fn clone(&self) -> ProviderSupport
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 ProviderSupport
impl Debug for ProviderSupport
Source§impl<'de> Deserialize<'de> for ProviderSupport
impl<'de> Deserialize<'de> for ProviderSupport
Source§fn deserialize<D>(d: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(d: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ProviderSupport
Source§impl JsonSchema for ProviderSupport
impl JsonSchema for ProviderSupport
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for ProviderSupport
impl PartialEq for ProviderSupport
Source§fn eq(&self, other: &ProviderSupport) -> bool
fn eq(&self, other: &ProviderSupport) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ProviderSupport
impl Serialize for ProviderSupport
impl StructuralPartialEq for ProviderSupport
Auto Trait Implementations§
impl Freeze for ProviderSupport
impl RefUnwindSafe for ProviderSupport
impl Send for ProviderSupport
impl Sync for ProviderSupport
impl Unpin for ProviderSupport
impl UnsafeUnpin for ProviderSupport
impl UnwindSafe for ProviderSupport
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