pub struct SecretSpec {
pub inner: Box<SchemaType>,
pub category: Option<String>,
}Fields§
§inner: Box<SchemaType>Revealed payload type carried by this secret handle.
category: Option<String>Optional categorisation (e.g., "api-key", "oauth-token").
Trait Implementations§
Source§impl Clone for SecretSpec
impl Clone for SecretSpec
Source§impl Debug for SecretSpec
impl Debug for SecretSpec
Source§impl Default for SecretSpec
impl Default for SecretSpec
Source§impl<'de> Deserialize<'de> for SecretSpec
impl<'de> Deserialize<'de> for SecretSpec
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 SecretSpec
Source§impl FromSchema for SecretSpec
impl FromSchema for SecretSpec
fn from_value(value: &SchemaValue) -> Result<Self, FromSchemaError>
Source§impl IntoSchema for SecretSpec
impl IntoSchema for SecretSpec
fn type_id() -> TypeId
fn register_in(builder: &mut SchemaBuilder) -> SchemaType
fn to_value(&self) -> SchemaValue
Source§impl PartialEq for SecretSpec
impl PartialEq for SecretSpec
Source§impl Serialize for SecretSpec
impl Serialize for SecretSpec
impl StructuralPartialEq for SecretSpec
Auto Trait Implementations§
impl Freeze for SecretSpec
impl RefUnwindSafe for SecretSpec
impl Send for SecretSpec
impl Sync for SecretSpec
impl Unpin for SecretSpec
impl UnsafeUnpin for SecretSpec
impl UnwindSafe for SecretSpec
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