pub enum WrapperRole {
Role(Role),
}
Expand description
Wrapped Role
for custom implementations.
Variants§
Trait Implementations§
Source§impl Clone for WrapperRole
impl Clone for WrapperRole
Source§fn clone(&self) -> WrapperRole
fn clone(&self) -> WrapperRole
Returns a copy 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 WrapperRole
impl Debug for WrapperRole
Source§impl Default for WrapperRole
impl Default for WrapperRole
Source§impl<'de> Deserialize<'de> for WrapperRole
impl<'de> Deserialize<'de> for WrapperRole
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
Source§impl From<&str> for WrapperRole
impl From<&str> for WrapperRole
Source§impl From<WrapperRole> for String
impl From<WrapperRole> for String
Source§fn from(role: WrapperRole) -> Self
fn from(role: WrapperRole) -> Self
Converts to this type from the input type.
Source§impl PartialEq for WrapperRole
impl PartialEq for WrapperRole
Source§impl Serialize for WrapperRole
impl Serialize for WrapperRole
impl StructuralPartialEq for WrapperRole
Auto Trait Implementations§
impl Freeze for WrapperRole
impl RefUnwindSafe for WrapperRole
impl Send for WrapperRole
impl Sync for WrapperRole
impl Unpin for WrapperRole
impl UnwindSafe for WrapperRole
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