pub struct GetCallerIdentityResponse {
pub account: Option<String>,
pub arn: Option<String>,
pub user_id: Option<String>,
}Expand description
Contains the response to a successful GetCallerIdentity request, including information about the entity making the request.
Fields§
§account: Option<String>The AWS account ID number of the account that owns or contains the calling entity.
arn: Option<String>The AWS ARN associated with the calling entity.
user_id: Option<String>The unique identifier of the calling entity. The exact value depends on the type of entity that is making the call. The values returned are those listed in the aws:userid column in the Principal table found on the Policy Variables reference page in the IAM User Guide.
Trait Implementations§
Source§impl Clone for GetCallerIdentityResponse
impl Clone for GetCallerIdentityResponse
Source§fn clone(&self) -> GetCallerIdentityResponse
fn clone(&self) -> GetCallerIdentityResponse
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 GetCallerIdentityResponse
impl Debug for GetCallerIdentityResponse
Source§impl Default for GetCallerIdentityResponse
impl Default for GetCallerIdentityResponse
Source§fn default() -> GetCallerIdentityResponse
fn default() -> GetCallerIdentityResponse
Returns the “default value” for a type. Read more
impl StructuralPartialEq for GetCallerIdentityResponse
Auto Trait Implementations§
impl Freeze for GetCallerIdentityResponse
impl RefUnwindSafe for GetCallerIdentityResponse
impl Send for GetCallerIdentityResponse
impl Sync for GetCallerIdentityResponse
impl Unpin for GetCallerIdentityResponse
impl UnwindSafe for GetCallerIdentityResponse
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