pub struct S3Credentials {
pub access_key_id: Box<[u8]>,
pub secret_access_key: Box<[u8]>,
pub region: Box<[u8]>,
pub endpoint: Box<[u8]>,
pub bucket: Box<[u8]>,
pub session_token: Box<[u8]>,
pub insecure_http: bool,
}Expand description
Mirrors the value fields of bun_s3_signing::S3Credentials (T5). Defined locally so
this T2 crate names no bun_s3_signing types — see PORTING.md §Dispatch (cold-path,
upward dep). The high-tier caller constructs the real refcounted S3Credentials from
this POD at the call site.
Fields§
§access_key_id: Box<[u8]>§secret_access_key: Box<[u8]>§region: Box<[u8]>§endpoint: Box<[u8]>§bucket: Box<[u8]>§session_token: Box<[u8]>§insecure_http: boolImportant for MinIO support.
Trait Implementations§
Source§impl Clone for S3Credentials
impl Clone for S3Credentials
Source§fn clone(&self) -> S3Credentials
fn clone(&self) -> S3Credentials
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for S3Credentials
impl Default for S3Credentials
Source§fn default() -> S3Credentials
fn default() -> S3Credentials
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for S3Credentials
impl RefUnwindSafe for S3Credentials
impl Send for S3Credentials
impl Sync for S3Credentials
impl Unpin for S3Credentials
impl UnsafeUnpin for S3Credentials
impl UnwindSafe for S3Credentials
Blanket Implementations§
Source§impl<T> AsCtxPtr for Twhere
T: ?Sized,
impl<T> AsCtxPtr for Twhere
T: ?Sized,
Source§fn as_ctx_ptr(&self) -> *mut Selfwhere
Self: Sized,
fn as_ctx_ptr(&self) -> *mut Selfwhere
Self: Sized,
self’s address as *mut Self for deferred-task / scopeguard /
ref_guard ctx slots. The closures/trampolines deref it as shared
(&*p) — every method they reach is &self post-R-2, so no write
provenance is required; the *mut spelling is purely to match the
existing DerefOnDrop / HasAutoFlush / RefCount ABI.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