pub struct ResourceMeta {
pub name: String,
pub description: String,
pub category: String,
pub kind: Option<String>,
}Expand description
Resource metadata.
Fields§
§name: StringResource identifier (e.g., akeyless_static_secret).
description: StringHuman-readable description.
category: StringCategory grouping (e.g., “secret”, “auth”).
kind: Option<String>Resource flavour: "crud" (default) or "action".
None is equivalent to "crud" for backward compatibility with
the 157 pre-existing CRUD TOMLs. Lives on ResourceMeta because
it sits under the [resource] TOML table alongside name/category.
Trait Implementations§
Source§impl Clone for ResourceMeta
impl Clone for ResourceMeta
Source§impl Debug for ResourceMeta
impl Debug for ResourceMeta
Source§impl<'de> Deserialize<'de> for ResourceMeta
impl<'de> Deserialize<'de> for ResourceMeta
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
Auto Trait Implementations§
impl Freeze for ResourceMeta
impl RefUnwindSafe for ResourceMeta
impl Send for ResourceMeta
impl Sync for ResourceMeta
impl Unpin for ResourceMeta
impl UnsafeUnpin for ResourceMeta
impl UnwindSafe for ResourceMeta
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