#[non_exhaustive]pub struct Resolved {
pub profile: String,
pub region: Setting<String>,
pub endpoint: Option<Setting<String>>,
pub addressing: Option<Setting<Addressing>>,
pub credentials: Credentials,
pub credentials_origin: Origin,
}Available on crate feature
s3 only.Expand description
The settings and the credentials of an S3 endpoint that resolve
gives.
The Debug output shows the endpoint with no userinfo, and shows the
credentials as the Debug output of Credentials shows them.
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.profile: StringThe profile of the shared AWS files.
region: Setting<String>The region of the signature scope.
endpoint: Option<Setting<String>>The endpoint URL, or None if no source gives one.
addressing: Option<Setting<Addressing>>The addressing style, or None if no source gives one.
credentials: CredentialsThe key pair.
credentials_origin: OriginThe source of the key pair. For the environment, it names
AWS_ACCESS_KEY_ID. For a file, it names the key
aws_access_key_id.
Trait Implementations§
Auto Trait Implementations§
impl Forget for Resolved
impl Freeze for Resolved
impl Move for Resolved
impl RefUnwindSafe for Resolved
impl Send for Resolved
impl Sync for Resolvedwhere
RawVecInner: Sync,
impl Unpin for Resolved
impl UnsafeUnpin for Resolved
impl UnwindSafe for Resolved
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