[−][src]Struct gotham_middleware_aws_sig_verify::Principal
Re-export aws_sig_verify so users don't have to compute versions. Principal for a given access key
Fields
partition: String
The partition this principal exists in.
principal_type: PrincipalType
Principal type -- role, assumed role, service, etc.
Implementations
impl Principal
[src]
Re-export aws_sig_verify so users don't have to compute versions.
pub fn create_assumed_role(
partition: String,
account_id: String,
path: String,
name: String,
session_name: String
) -> Principal
[src]
partition: String,
account_id: String,
path: String,
name: String,
session_name: String
) -> Principal
pub fn create_group(
partition: String,
account_id: String,
path: String,
name: String,
group_id: String
) -> Principal
[src]
partition: String,
account_id: String,
path: String,
name: String,
group_id: String
) -> Principal
pub fn create_role(
partition: String,
account_id: String,
path: String,
name: String,
role_id: String
) -> Principal
[src]
partition: String,
account_id: String,
path: String,
name: String,
role_id: String
) -> Principal
pub fn create_user(
partition: String,
account_id: String,
path: String,
name: String,
user_id: String
) -> Principal
[src]
partition: String,
account_id: String,
path: String,
name: String,
user_id: String
) -> Principal
Trait Implementations
impl Clone for Principal
[src]
impl Debug for Principal
[src]
impl Display for Principal
[src]
impl Eq for Principal
[src]
impl PartialEq<Principal> for Principal
[src]
impl StructuralEq for Principal
[src]
impl StructuralPartialEq for Principal
[src]
Auto Trait Implementations
impl RefUnwindSafe for Principal
impl Send for Principal
impl Sync for Principal
impl Unpin for Principal
impl UnwindSafe for Principal
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
fn equivalent(&self, key: &K) -> bool
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,