pub struct PermissionCommandMetadata {
pub name: String,
pub description: Option<String>,
pub extra: HashMap<String, Value>,
}Expand description
Minimal command shape for permission metadata.
Fields§
§name: String§description: Option<String>§extra: HashMap<String, Value>Allow additional properties for forward compatibility
Trait Implementations§
Source§impl Clone for PermissionCommandMetadata
impl Clone for PermissionCommandMetadata
Source§fn clone(&self) -> PermissionCommandMetadata
fn clone(&self) -> PermissionCommandMetadata
Returns a duplicate of the value. Read more
1.0.0 · 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 PermissionCommandMetadata
impl Debug for PermissionCommandMetadata
Source§impl<'de> Deserialize<'de> for PermissionCommandMetadata
impl<'de> Deserialize<'de> for PermissionCommandMetadata
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 PermissionCommandMetadata
impl RefUnwindSafe for PermissionCommandMetadata
impl Send for PermissionCommandMetadata
impl Sync for PermissionCommandMetadata
impl Unpin for PermissionCommandMetadata
impl UnsafeUnpin for PermissionCommandMetadata
impl UnwindSafe for PermissionCommandMetadata
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