pub struct S3Client {
pub options: S3Options,
pub base_url: String,
pub api_key: String,
pub http_client: Client,
}Expand description
S3 API互換クライアント
Fields§
§options: S3Options§base_url: String§api_key: String§http_client: ClientImplementations§
Source§impl S3Client
impl S3Client
Sourcepub fn new(
base_url: &str,
api_key: &str,
http_client: Client,
options: S3Options,
) -> Self
pub fn new( base_url: &str, api_key: &str, http_client: Client, options: S3Options, ) -> Self
新しいS3互換クライアントを作成
Sourcepub async fn delete_bucket(&self, bucket_name: &str) -> Result<()>
pub async fn delete_bucket(&self, bucket_name: &str) -> Result<()>
バケットの削除
Sourcepub async fn list_buckets(&self) -> Result<Vec<Value>>
pub async fn list_buckets(&self) -> Result<Vec<Value>>
バケットの一覧を取得
Sourcepub fn bucket(&self, bucket_name: &str) -> S3BucketClient
pub fn bucket(&self, bucket_name: &str) -> S3BucketClient
バケットを取得し、S3互換操作のためのクライアントを返す
Auto Trait Implementations§
impl Freeze for S3Client
impl !RefUnwindSafe for S3Client
impl Send for S3Client
impl Sync for S3Client
impl Unpin for S3Client
impl !UnwindSafe for S3Client
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