pub struct SecretValuePayload {
pub secret_id: Uuid,
pub config_key: Option<Vec<String>>,
pub version: u64,
pub resolved_at: DateTime<Utc>,
pub category: Option<String>,
}Expand description
Capability value: the trusted host snapshot of a secret handle.
This contains only identity and metadata needed to deterministically
resurrect a handle. Plaintext secret material lives in the host resource
representation / registry store and is never carried by SchemaValue.
Fields§
§secret_id: Uuid§config_key: Option<Vec<String>>§version: u64§resolved_at: DateTime<Utc>§category: Option<String>Trait Implementations§
Source§impl Clone for SecretValuePayload
impl Clone for SecretValuePayload
Source§impl Debug for SecretValuePayload
impl Debug for SecretValuePayload
Source§impl<'de> Deserialize<'de> for SecretValuePayload
impl<'de> Deserialize<'de> for SecretValuePayload
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 SecretValuePayload
Source§impl FromSchema for SecretValuePayload
impl FromSchema for SecretValuePayload
fn from_value(value: &SchemaValue) -> Result<Self, FromSchemaError>
Source§impl IntoSchema for SecretValuePayload
impl IntoSchema for SecretValuePayload
fn type_id() -> TypeId
fn register_in(builder: &mut SchemaBuilder) -> SchemaType
fn to_value(&self) -> SchemaValue
Source§impl PartialEq for SecretValuePayload
impl PartialEq for SecretValuePayload
Source§impl Serialize for SecretValuePayload
impl Serialize for SecretValuePayload
impl StructuralPartialEq for SecretValuePayload
Auto Trait Implementations§
impl Freeze for SecretValuePayload
impl RefUnwindSafe for SecretValuePayload
impl Send for SecretValuePayload
impl Sync for SecretValuePayload
impl Unpin for SecretValuePayload
impl UnsafeUnpin for SecretValuePayload
impl UnwindSafe for SecretValuePayload
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