Struct AgentAlias
pub struct AgentAlias(pub String);Expand description
An agent alias a principal may bind at session start. Newtype so it never gets
confused with an arbitrary String in grant checks.
Tuple Fields§
§0: StringImplementations§
Trait Implementations§
Source§impl Clone for AgentAlias
impl Clone for AgentAlias
Source§fn clone(&self) -> AgentAlias
fn clone(&self) -> AgentAlias
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · §fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AgentAlias
impl Debug for AgentAlias
Source§impl<'de> Deserialize<'de> for AgentAlias
impl<'de> Deserialize<'de> for AgentAlias
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 Hash for AgentAlias
impl Hash for AgentAlias
Source§impl PartialEq for AgentAlias
impl PartialEq for AgentAlias
Source§impl Serialize for AgentAlias
impl Serialize for AgentAlias
impl Eq for AgentAlias
impl StructuralPartialEq for AgentAlias
Auto Trait Implementations§
impl Freeze for AgentAlias
impl RefUnwindSafe for AgentAlias
impl Send for AgentAlias
impl Sync for AgentAlias
impl Unpin for AgentAlias
impl UnsafeUnpin for AgentAlias
impl UnwindSafe for AgentAlias
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