pub enum GrapheneRole {
Owner,
Admin,
Editor,
Viewer,
}
Variants§
Trait Implementations§
Source§impl Clone for GrapheneRole
impl Clone for GrapheneRole
Source§fn clone(&self) -> GrapheneRole
fn clone(&self) -> GrapheneRole
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 GrapheneRole
impl Debug for GrapheneRole
Source§impl<'de> Deserialize<'de> for GrapheneRole
impl<'de> Deserialize<'de> for GrapheneRole
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 Enum for GrapheneRole
impl Enum for GrapheneRole
Source§type SchemaType = GrapheneRole
type SchemaType = GrapheneRole
The enum in the schema that this type represents.
Source§impl Serialize for GrapheneRole
impl Serialize for GrapheneRole
impl CoercesTo<Option<GrapheneRole>> for GrapheneRole
impl CoercesTo<Option<Option<GrapheneRole>>> for GrapheneRole
impl CoercesTo<Option<Vec<GrapheneRole>>> for GrapheneRole
impl CoercesTo<Option<Vec<Option<GrapheneRole>>>> for GrapheneRole
impl CoercesTo<Vec<GrapheneRole>> for GrapheneRole
impl CoercesTo<Vec<Vec<GrapheneRole>>> for GrapheneRole
impl Copy for GrapheneRole
Auto Trait Implementations§
impl Freeze for GrapheneRole
impl RefUnwindSafe for GrapheneRole
impl Send for GrapheneRole
impl Sync for GrapheneRole
impl Unpin for GrapheneRole
impl UnwindSafe for GrapheneRole
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