pub enum ObjectLabel {
Show 16 variants
Agent,
AgentSkill,
Catalog,
Column,
Credential,
ExternalLocation,
Function,
PolicyInfo,
Provider,
Recipient,
Schema,
Share,
StagingTable,
Table,
TagPolicy,
Volume,
}Expand description
Discriminant label for each resource type.
Variants§
Agent
AgentSkill
Catalog
Column
Credential
ExternalLocation
Function
PolicyInfo
Provider
Recipient
Schema
StagingTable
Table
TagPolicy
Volume
Implementations§
Source§impl ObjectLabel
impl ObjectLabel
pub fn to_ident(&self, id: impl Into<ResourceRef>) -> ResourceIdent
Trait Implementations§
Source§impl AsRef<ObjectLabel> for ResourceIdent
impl AsRef<ObjectLabel> for ResourceIdent
Source§fn as_ref(&self) -> &ObjectLabel
fn as_ref(&self) -> &ObjectLabel
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl AsRef<str> for ObjectLabel
impl AsRef<str> for ObjectLabel
Source§impl Clone for ObjectLabel
impl Clone for ObjectLabel
Source§fn clone(&self) -> ObjectLabel
fn clone(&self) -> ObjectLabel
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ObjectLabel
Source§impl Debug for ObjectLabel
impl Debug for ObjectLabel
Source§impl<'de> Deserialize<'de> for ObjectLabel
impl<'de> Deserialize<'de> for ObjectLabel
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 ObjectLabel
impl Display for ObjectLabel
impl Eq for ObjectLabel
Source§impl From<&ResourceIdent> for ObjectLabel
impl From<&ResourceIdent> for ObjectLabel
Source§fn from(ident: &ResourceIdent) -> Self
fn from(ident: &ResourceIdent) -> Self
Converts to this type from the input type.
Source§impl From<ResourceIdent> for ObjectLabel
impl From<ResourceIdent> for ObjectLabel
Source§fn from(ident: ResourceIdent) -> Self
fn from(ident: ResourceIdent) -> Self
Converts to this type from the input type.
Source§impl FromStr for ObjectLabel
impl FromStr for ObjectLabel
Source§impl Hash for ObjectLabel
impl Hash for ObjectLabel
Source§impl IntoEnumIterator for ObjectLabel
impl IntoEnumIterator for ObjectLabel
type Iterator = ObjectLabelIter
fn iter() -> ObjectLabelIter ⓘ
Source§impl Label for ObjectLabel
impl Label for ObjectLabel
Source§impl Ord for ObjectLabel
impl Ord for ObjectLabel
Source§fn cmp(&self, other: &ObjectLabel) -> Ordering
fn cmp(&self, other: &ObjectLabel) -> Ordering
1.21.0 (const: unstable) · 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 ObjectLabel
impl PartialEq for ObjectLabel
Source§impl PartialOrd for ObjectLabel
impl PartialOrd for ObjectLabel
Source§impl Serialize for ObjectLabel
impl Serialize for ObjectLabel
impl StructuralPartialEq for ObjectLabel
Auto Trait Implementations§
impl Freeze for ObjectLabel
impl RefUnwindSafe for ObjectLabel
impl Send for ObjectLabel
impl Sync for ObjectLabel
impl Unpin for ObjectLabel
impl UnsafeUnpin for ObjectLabel
impl UnwindSafe for ObjectLabel
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