pub struct BlobServiceClient { /* private fields */ }
Expand description
A client for interacting with the blob storage service.
Implementations§
source§impl BlobServiceClient
impl BlobServiceClient
sourcepub fn new(
account: impl Into<String>,
credentials: impl Into<StorageCredentials>,
) -> Self
pub fn new( account: impl Into<String>, credentials: impl Into<StorageCredentials>, ) -> Self
Create a new BlobServiceClient
which connects to the account’s instance in the public Azure cloud.
sourcepub fn builder(
account: impl Into<String>,
credentials: impl Into<StorageCredentials>,
) -> ClientBuilder
pub fn builder( account: impl Into<String>, credentials: impl Into<StorageCredentials>, ) -> ClientBuilder
Create a new ClientBuilder
.
pub fn account(&self) -> &str
sourcepub fn get_account_information(&self) -> GetAccountInformationBuilder
pub fn get_account_information(&self) -> GetAccountInformationBuilder
Get information about the blob storage account
Get all the blobs with the given tags in the where expression
sourcepub fn list_containers(&self) -> ListContainersBuilder
pub fn list_containers(&self) -> ListContainersBuilder
List all the containers in the blob account
pub fn get_properties(&self) -> GetBlobServicePropertiesBuilder
pub fn url(&self) -> Result<Url>
pub fn container_client<S: Into<String>>( &self, container_name: S, ) -> ContainerClient
pub fn get_user_deligation_key( &self, start: OffsetDateTime, expiry: OffsetDateTime, ) -> GetUserDelegationKeyBuilder
pub async fn update_credentials( &self, new_credentials: StorageCredentials, ) -> Result<()>
Trait Implementations§
source§impl Clone for BlobServiceClient
impl Clone for BlobServiceClient
source§fn clone(&self) -> BlobServiceClient
fn clone(&self) -> BlobServiceClient
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for BlobServiceClient
impl !RefUnwindSafe for BlobServiceClient
impl Send for BlobServiceClient
impl Sync for BlobServiceClient
impl Unpin for BlobServiceClient
impl !UnwindSafe for BlobServiceClient
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)