pub struct StorageClient { /* private fields */ }Expand description
ストレージクライアント
Implementations§
Source§impl StorageClient
 
impl StorageClient
Sourcepub fn from<'a>(&'a self, bucket_id: &str) -> StorageBucketClient<'a>
 
pub fn from<'a>(&'a self, bucket_id: &str) -> StorageBucketClient<'a>
バケットを指定
Sourcepub async fn list_buckets(&self) -> Result<Vec<Bucket>>
 
pub async fn list_buckets(&self) -> Result<Vec<Bucket>>
バケット一覧を取得
Sourcepub async fn create_bucket(
    &self,
    bucket_id: &str,
    is_public: bool,
) -> Result<Bucket>
 
pub async fn create_bucket( &self, bucket_id: &str, is_public: bool, ) -> Result<Bucket>
バケットを作成
Sourcepub async fn delete_bucket(&self, bucket_id: &str) -> Result<()>
 
pub async fn delete_bucket(&self, bucket_id: &str) -> Result<()>
バケットを削除
Auto Trait Implementations§
impl Freeze for StorageClient
impl !RefUnwindSafe for StorageClient
impl Send for StorageClient
impl Sync for StorageClient
impl Unpin for StorageClient
impl !UnwindSafe for StorageClient
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