pub enum AccessType {
Readonly,
Write,
Comment,
None,
}
Expand description
Type of access.
JSON schema
{
"description": "Type of access.",
"type": "string",
"enum": [
"readonly",
"write",
"comment",
"none"
],
"x-schema-name": "AccessType",
"x-tsEnumNames": [
"ReadOnly",
"Write",
"Comment",
"None"
]
}
Variants§
Trait Implementations§
Source§impl Clone for AccessType
impl Clone for AccessType
Source§fn clone(&self) -> AccessType
fn clone(&self) -> AccessType
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 AccessType
impl Debug for AccessType
Source§impl<'de> Deserialize<'de> for AccessType
impl<'de> Deserialize<'de> for AccessType
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 Display for AccessType
impl Display for AccessType
Source§impl From<&AccessType> for AccessType
impl From<&AccessType> for AccessType
Source§fn from(value: &AccessType) -> Self
fn from(value: &AccessType) -> Self
Converts to this type from the input type.
Source§impl FromStr for AccessType
impl FromStr for AccessType
Source§impl Hash for AccessType
impl Hash for AccessType
Source§impl Ord for AccessType
impl Ord for AccessType
Source§fn cmp(&self, other: &AccessType) -> Ordering
fn cmp(&self, other: &AccessType) -> 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 AccessType
impl PartialEq for AccessType
Source§impl PartialOrd for AccessType
impl PartialOrd for AccessType
Source§impl Serialize for AccessType
impl Serialize for AccessType
Source§impl TryFrom<&String> for AccessType
impl TryFrom<&String> for AccessType
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<&str> for AccessType
impl TryFrom<&str> for AccessType
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<String> for AccessType
impl TryFrom<String> for AccessType
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
impl Copy for AccessType
impl Eq for AccessType
impl StructuralPartialEq for AccessType
Auto Trait Implementations§
impl Freeze for AccessType
impl RefUnwindSafe for AccessType
impl Send for AccessType
impl Sync for AccessType
impl Unpin for AccessType
impl UnwindSafe for AccessType
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string
, but without panic on OOM.