pub enum ResourceIdent {
Show 16 variants
Agent(ResourceRef),
AgentSkill(ResourceRef),
Share(ResourceRef),
Credential(ResourceRef),
ExternalLocation(ResourceRef),
Catalog(ResourceRef),
Schema(ResourceRef),
Table(ResourceRef),
Recipient(ResourceRef),
Provider(ResourceRef),
Column(ResourceRef),
Volume(ResourceRef),
Function(ResourceRef),
TagPolicy(ResourceRef),
StagingTable(ResourceRef),
PolicyInfo(ResourceRef),
}Expand description
Resource that a policy can authorize.
Variants§
Agent(ResourceRef)
AgentSkill(ResourceRef)
Credential(ResourceRef)
ExternalLocation(ResourceRef)
Catalog(ResourceRef)
Schema(ResourceRef)
Table(ResourceRef)
Recipient(ResourceRef)
Provider(ResourceRef)
Column(ResourceRef)
Volume(ResourceRef)
Function(ResourceRef)
TagPolicy(ResourceRef)
StagingTable(ResourceRef)
PolicyInfo(ResourceRef)
Implementations§
Source§impl ResourceIdent
impl ResourceIdent
pub fn label(&self) -> &ObjectLabel
pub fn reference(&self) -> &ResourceRef
pub fn agent(name: impl Into<ResourceRef>) -> Self
pub fn agent_skill(name: impl Into<ResourceRef>) -> Self
pub fn credential(name: impl Into<ResourceRef>) -> Self
pub fn catalog(name: impl Into<ResourceRef>) -> Self
pub fn schema(name: impl Into<ResourceRef>) -> Self
pub fn table(name: impl Into<ResourceRef>) -> Self
pub fn column(name: impl Into<ResourceRef>) -> Self
pub fn external_location(name: impl Into<ResourceRef>) -> Self
pub fn recipient(name: impl Into<ResourceRef>) -> Self
pub fn provider(name: impl Into<ResourceRef>) -> Self
pub fn volume(name: impl Into<ResourceRef>) -> Self
pub fn function(name: impl Into<ResourceRef>) -> Self
pub fn tag_policy(name: impl Into<ResourceRef>) -> Self
pub fn staging_table(name: impl Into<ResourceRef>) -> Self
pub fn policy_info(name: impl Into<ResourceRef>) -> Self
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<ResourceRef> for ResourceIdent
impl AsRef<ResourceRef> for ResourceIdent
Source§fn as_ref(&self) -> &ResourceRef
fn as_ref(&self) -> &ResourceRef
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Clone for ResourceIdent
impl Clone for ResourceIdent
Source§fn clone(&self) -> ResourceIdent
fn clone(&self) -> ResourceIdent
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 moreSource§impl Debug for ResourceIdent
impl Debug for ResourceIdent
Source§impl Display for ResourceIdent
impl Display for ResourceIdent
impl Eq for ResourceIdent
Source§impl From<&ResourceIdent> for ResourceRef
impl From<&ResourceIdent> for ResourceRef
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<T: ResourceExt> From<&T> for ResourceIdent
impl<T: ResourceExt> From<&T> for ResourceIdent
Source§impl From<ResourceIdent> for ResourceRef
impl From<ResourceIdent> for ResourceRef
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 Hash for ResourceIdent
impl Hash for ResourceIdent
Source§impl PartialEq for ResourceIdent
impl PartialEq for ResourceIdent
impl StructuralPartialEq for ResourceIdent
Auto Trait Implementations§
impl Freeze for ResourceIdent
impl RefUnwindSafe for ResourceIdent
impl Send for ResourceIdent
impl Sync for ResourceIdent
impl Unpin for ResourceIdent
impl UnsafeUnpin for ResourceIdent
impl UnwindSafe for ResourceIdent
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