pub enum ProvisionMode {
Inject,
Passthrough,
}Variants§
Implementations§
Source§impl ProvisionMode
impl ProvisionMode
Sourcepub fn new_inject() -> Self
pub fn new_inject() -> Self
Constructs a new ProvisionMode::Inject.
Source§impl ProvisionMode
impl ProvisionMode
Sourcepub fn new_passthrough() -> Self
pub fn new_passthrough() -> Self
Constructs a new ProvisionMode::Passthrough.
Trait Implementations§
Source§impl Clone for ProvisionMode
impl Clone for ProvisionMode
Source§fn clone(&self) -> ProvisionMode
fn clone(&self) -> ProvisionMode
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 ProvisionMode
impl Debug for ProvisionMode
Source§impl<'de> Deserialize<'de> for ProvisionMode
impl<'de> Deserialize<'de> for ProvisionMode
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 JsonSchema for ProvisionMode
impl JsonSchema for ProvisionMode
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 ProvisionMode
impl PartialEq for ProvisionMode
Source§fn eq(&self, other: &ProvisionMode) -> bool
fn eq(&self, other: &ProvisionMode) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ProvisionMode
impl Serialize for ProvisionMode
impl StructuralPartialEq for ProvisionMode
Auto Trait Implementations§
impl Freeze for ProvisionMode
impl RefUnwindSafe for ProvisionMode
impl Send for ProvisionMode
impl Sync for ProvisionMode
impl Unpin for ProvisionMode
impl UnsafeUnpin for ProvisionMode
impl UnwindSafe for ProvisionMode
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