Struct aws_sdk_dynamodbstreams::types::Identity
source · #[non_exhaustive]pub struct Identity {
pub principal_id: Option<String>,
pub type: Option<String>,
}
Expand description
Contains details about the type of identity that made the request.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.principal_id: Option<String>
A unique identifier for the entity that made the call. For Time To Live, the principalId is "dynamodb.amazonaws.com".
type: Option<String>
The type of the identity. For Time To Live, the type is "Service".
Implementations§
Trait Implementations§
source§impl PartialEq for Identity
impl PartialEq for Identity
impl StructuralPartialEq for Identity
Auto Trait Implementations§
impl RefUnwindSafe for Identity
impl Send for Identity
impl Sync for Identity
impl Unpin for Identity
impl UnwindSafe for Identity
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