pub struct PluginGrantPermission {
pub name: Box<String>,
pub values: Box<Vec<String>>,
}
Fields§
§name: Box<String>
The name of the permission
values: Box<Vec<String>>
The value of the permission
Implementations§
source§impl PluginGrantPermission
impl PluginGrantPermission
sourcepub fn builder() -> PluginGrantPermissionBuilder
pub fn builder() -> PluginGrantPermissionBuilder
Create an instance of PluginGrantPermission
using the builder syntax
Trait Implementations§
source§impl Debug for PluginGrantPermission
impl Debug for PluginGrantPermission
source§impl<'de> Deserialize<'de> for PluginGrantPermission
impl<'de> Deserialize<'de> for PluginGrantPermission
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 PluginGrantPermission
impl RefUnwindSafe for PluginGrantPermission
impl Send for PluginGrantPermission
impl Sync for PluginGrantPermission
impl Unpin for PluginGrantPermission
impl UnwindSafe for PluginGrantPermission
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