pub enum ResourceKind {
Show 15 variants
Root,
Space,
App,
Mechtron,
FileSystem,
File(FileKind),
Database(DatabaseKind),
Authenticator(AuthenticatorKind),
Credentials,
Proxy,
ArtifactBundleSeries,
ArtifactBundle,
Artifact(ArtifactKind),
UserBase,
User,
}
Variants§
Root
Space
App
Mechtron
FileSystem
File(FileKind)
Database(DatabaseKind)
Authenticator(AuthenticatorKind)
Credentials
Proxy
ArtifactBundleSeries
ArtifactBundle
Artifact(ArtifactKind)
UserBase
User
Implementations§
Source§impl ResourceKind
impl ResourceKind
pub fn resource_type(&self) -> ResourceType
Trait Implementations§
Source§impl Clone for ResourceKind
impl Clone for ResourceKind
Source§fn clone(&self) -> ResourceKind
fn clone(&self) -> ResourceKind
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 ResourceKind
impl Debug for ResourceKind
Source§impl<'de> Deserialize<'de> for ResourceKind
impl<'de> Deserialize<'de> for ResourceKind
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 FromStr for ResourceKind
impl FromStr for ResourceKind
Source§impl Hash for ResourceKind
impl Hash for ResourceKind
Source§impl Into<ResourceKind> for ArtifactKind
impl Into<ResourceKind> for ArtifactKind
Source§fn into(self) -> ResourceKind
fn into(self) -> ResourceKind
Converts this type into the (usually inferred) input type.
Source§impl Into<ResourceKind> for AuthenticatorKind
impl Into<ResourceKind> for AuthenticatorKind
Source§fn into(self) -> ResourceKind
fn into(self) -> ResourceKind
Converts this type into the (usually inferred) input type.
Source§impl Into<ResourceKind> for DatabaseKind
impl Into<ResourceKind> for DatabaseKind
Source§fn into(self) -> ResourceKind
fn into(self) -> ResourceKind
Converts this type into the (usually inferred) input type.
Source§impl Into<ResourceKind> for FileKind
impl Into<ResourceKind> for FileKind
Source§fn into(self) -> ResourceKind
fn into(self) -> ResourceKind
Converts this type into the (usually inferred) input type.
Source§impl Into<ResourceKindParts> for ResourceKind
impl Into<ResourceKindParts> for ResourceKind
Source§fn into(self) -> ResourceKindParts
fn into(self) -> ResourceKindParts
Converts this type into the (usually inferred) input type.
Source§impl PartialEq for ResourceKind
impl PartialEq for ResourceKind
Source§impl Serialize for ResourceKind
impl Serialize for ResourceKind
Source§impl ToString for ResourceKind
impl ToString for ResourceKind
Source§impl TryFrom<ResourceKindParts> for ResourceKind
impl TryFrom<ResourceKindParts> for ResourceKind
Source§impl TryInto<ArtifactKind> for ResourceKind
impl TryInto<ArtifactKind> for ResourceKind
Source§impl TryInto<AuthenticatorKind> for ResourceKind
impl TryInto<AuthenticatorKind> for ResourceKind
Source§impl TryInto<DatabaseKind> for ResourceKind
impl TryInto<DatabaseKind> for ResourceKind
Source§impl TryInto<FileKind> for ResourceKind
impl TryInto<FileKind> for ResourceKind
impl Eq for ResourceKind
impl StructuralPartialEq for ResourceKind
Auto Trait Implementations§
impl Freeze for ResourceKind
impl RefUnwindSafe for ResourceKind
impl Send for ResourceKind
impl Sync for ResourceKind
impl Unpin for ResourceKind
impl UnwindSafe for ResourceKind
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