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§fn clone(&self) -> SecretValuePayload
fn clone(&self) -> SecretValuePayload
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 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<SecretValuePayload, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<SecretValuePayload, <__D as Deserializer<'de>>::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<SecretValuePayload, 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
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
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