pub struct AllowedCommands {
pub commands: HashSet<String>,
pub has_app_acl: bool,
}
Expand description
Allowed commands used to communicate between generate_handle
and generate_allowed_commands
through json files
Fields§
§commands: HashSet<String>
The commands allowed
has_app_acl: bool
Has application ACL or not
Trait Implementations§
Source§impl Debug for AllowedCommands
impl Debug for AllowedCommands
Source§impl Default for AllowedCommands
impl Default for AllowedCommands
Source§fn default() -> AllowedCommands
fn default() -> AllowedCommands
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AllowedCommands
impl<'de> Deserialize<'de> for AllowedCommands
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 AllowedCommands
impl RefUnwindSafe for AllowedCommands
impl Send for AllowedCommands
impl Sync for AllowedCommands
impl Unpin for AllowedCommands
impl UnwindSafe for AllowedCommands
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