pub enum AppPermissionsContents {
Read,
Write,
}
Expand description
AppPermissionsContents
JSON schema
{
"type": "string",
"enum": [
"read",
"write"
]
}
Variants§
Trait Implementations§
Source§impl Clone for AppPermissionsContents
impl Clone for AppPermissionsContents
Source§fn clone(&self) -> AppPermissionsContents
fn clone(&self) -> AppPermissionsContents
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 AppPermissionsContents
impl Debug for AppPermissionsContents
Source§impl<'de> Deserialize<'de> for AppPermissionsContents
impl<'de> Deserialize<'de> for AppPermissionsContents
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<&AppPermissionsContents> for AppPermissionsContents
impl From<&AppPermissionsContents> for AppPermissionsContents
Source§fn from(value: &AppPermissionsContents) -> Self
fn from(value: &AppPermissionsContents) -> Self
Converts to this type from the input type.
Source§impl FromStr for AppPermissionsContents
impl FromStr for AppPermissionsContents
Source§impl Hash for AppPermissionsContents
impl Hash for AppPermissionsContents
Source§impl Ord for AppPermissionsContents
impl Ord for AppPermissionsContents
Source§fn cmp(&self, other: &AppPermissionsContents) -> Ordering
fn cmp(&self, other: &AppPermissionsContents) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for AppPermissionsContents
impl PartialEq for AppPermissionsContents
Source§impl PartialOrd for AppPermissionsContents
impl PartialOrd for AppPermissionsContents
Source§impl Serialize for AppPermissionsContents
impl Serialize for AppPermissionsContents
Source§impl ToString for AppPermissionsContents
impl ToString for AppPermissionsContents
Source§impl TryFrom<&String> for AppPermissionsContents
impl TryFrom<&String> for AppPermissionsContents
Source§impl TryFrom<&str> for AppPermissionsContents
impl TryFrom<&str> for AppPermissionsContents
Source§impl TryFrom<String> for AppPermissionsContents
impl TryFrom<String> for AppPermissionsContents
impl Copy for AppPermissionsContents
impl Eq for AppPermissionsContents
impl StructuralPartialEq for AppPermissionsContents
Auto Trait Implementations§
impl Freeze for AppPermissionsContents
impl RefUnwindSafe for AppPermissionsContents
impl Send for AppPermissionsContents
impl Sync for AppPermissionsContents
impl Unpin for AppPermissionsContents
impl UnwindSafe for AppPermissionsContents
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