pub enum SecretState {
Present,
Default,
Missing,
Denied,
Unavailable,
}Expand description
What a storage said of a secret.
Variants§
Present
It is there.
Default
It isn’t, and its default stands in (decision 176).
Missing
It isn’t.
Denied
The worker may not read it.
The storage didn’t answer.
Trait Implementations§
Source§impl Clone for SecretState
impl Clone for SecretState
Source§fn clone(&self) -> SecretState
fn clone(&self) -> SecretState
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 SecretState
Source§impl Debug for SecretState
impl Debug for SecretState
Source§impl<'de> Deserialize<'de> for SecretState
impl<'de> Deserialize<'de> for SecretState
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 SecretState
Source§impl JsonSchema for SecretState
impl JsonSchema for SecretState
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 SecretState
impl PartialEq for SecretState
Source§impl Serialize for SecretState
impl Serialize for SecretState
impl StructuralPartialEq for SecretState
Auto Trait Implementations§
impl Freeze for SecretState
impl RefUnwindSafe for SecretState
impl Send for SecretState
impl Sync for SecretState
impl Unpin for SecretState
impl UnsafeUnpin for SecretState
impl UnwindSafe for SecretState
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