pub struct SecretSpec {
pub inner: i32,
pub category: Option<String>,
}Expand description
— Capability nodes —
Fields§
§inner: i32Revealed 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§fn clone(&self) -> SecretSpec
fn clone(&self) -> SecretSpec
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 moreAuto 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