Struct aws_sdk_s3::types::Grantee
source · #[non_exhaustive]pub struct Grantee {
pub display_name: Option<String>,
pub email_address: Option<String>,
pub id: Option<String>,
pub uri: Option<String>,
pub type: Type,
}
Expand description
Container for the person being granted permissions.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.display_name: Option<String>
Screen name of the grantee.
email_address: Option<String>
Email address of the grantee.
Using email addresses to specify a grantee is only supported in the following Amazon Web Services Regions:
-
US East (N. Virginia)
-
US West (N. California)
-
US West (Oregon)
-
Asia Pacific (Singapore)
-
Asia Pacific (Sydney)
-
Asia Pacific (Tokyo)
-
Europe (Ireland)
-
South America (São Paulo)
For a list of all the Amazon S3 supported Regions and endpoints, see Regions and Endpoints in the Amazon Web Services General Reference.
id: Option<String>
The canonical user ID of the grantee.
uri: Option<String>
URI of the grantee group.
type: Type
Type of grantee
Implementations§
source§impl Grantee
impl Grantee
sourcepub fn display_name(&self) -> Option<&str>
pub fn display_name(&self) -> Option<&str>
Screen name of the grantee.
sourcepub fn email_address(&self) -> Option<&str>
pub fn email_address(&self) -> Option<&str>
Email address of the grantee.
Using email addresses to specify a grantee is only supported in the following Amazon Web Services Regions:
-
US East (N. Virginia)
-
US West (N. California)
-
US West (Oregon)
-
Asia Pacific (Singapore)
-
Asia Pacific (Sydney)
-
Asia Pacific (Tokyo)
-
Europe (Ireland)
-
South America (São Paulo)
For a list of all the Amazon S3 supported Regions and endpoints, see Regions and Endpoints in the Amazon Web Services General Reference.
Trait Implementations§
impl StructuralPartialEq for Grantee
Auto Trait Implementations§
impl Freeze for Grantee
impl RefUnwindSafe for Grantee
impl Send for Grantee
impl Sync for Grantee
impl Unpin for Grantee
impl UnwindSafe for Grantee
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)