pub enum PackAccessType {
View,
Test,
Edit,
Admin,
}
Expand description
PackAccessType
JSON schema
{
"type": "string",
"enum": [
"view",
"test",
"edit",
"admin"
],
"x-schema-name": "PackAccessType",
"x-tsEnumNames": [
"View",
"Test",
"Edit",
"Admin"
]
}
Variants§
Trait Implementations§
Source§impl Clone for PackAccessType
impl Clone for PackAccessType
Source§fn clone(&self) -> PackAccessType
fn clone(&self) -> PackAccessType
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 PackAccessType
impl Debug for PackAccessType
Source§impl<'de> Deserialize<'de> for PackAccessType
impl<'de> Deserialize<'de> for PackAccessType
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 PackAccessType
impl Display for PackAccessType
Source§impl From<&PackAccessType> for PackAccessType
impl From<&PackAccessType> for PackAccessType
Source§fn from(value: &PackAccessType) -> Self
fn from(value: &PackAccessType) -> Self
Converts to this type from the input type.
Source§impl FromStr for PackAccessType
impl FromStr for PackAccessType
Source§impl Hash for PackAccessType
impl Hash for PackAccessType
Source§impl Ord for PackAccessType
impl Ord for PackAccessType
Source§fn cmp(&self, other: &PackAccessType) -> Ordering
fn cmp(&self, other: &PackAccessType) -> 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 PackAccessType
impl PartialEq for PackAccessType
Source§impl PartialOrd for PackAccessType
impl PartialOrd for PackAccessType
Source§impl Serialize for PackAccessType
impl Serialize for PackAccessType
Source§impl TryFrom<&String> for PackAccessType
impl TryFrom<&String> for PackAccessType
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<&str> for PackAccessType
impl TryFrom<&str> for PackAccessType
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<String> for PackAccessType
impl TryFrom<String> for PackAccessType
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
impl Copy for PackAccessType
impl Eq for PackAccessType
impl StructuralPartialEq for PackAccessType
Auto Trait Implementations§
impl Freeze for PackAccessType
impl RefUnwindSafe for PackAccessType
impl Send for PackAccessType
impl Sync for PackAccessType
impl Unpin for PackAccessType
impl UnwindSafe for PackAccessType
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.