pub struct ExtensionRole {
pub name: String,
pub display_name: String,
pub description: String,
pub permissions: Vec<String>,
}Fields§
§name: String§display_name: String§description: String§permissions: Vec<String>Implementations§
Trait Implementations§
Source§impl Clone for ExtensionRole
impl Clone for ExtensionRole
Source§fn clone(&self) -> ExtensionRole
fn clone(&self) -> ExtensionRole
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 ExtensionRole
impl Debug for ExtensionRole
Source§impl<'de> Deserialize<'de> for ExtensionRole
impl<'de> Deserialize<'de> for ExtensionRole
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 ExtensionRole
impl RefUnwindSafe for ExtensionRole
impl Send for ExtensionRole
impl Sync for ExtensionRole
impl Unpin for ExtensionRole
impl UnwindSafe for ExtensionRole
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