pub struct ContainerClient { /* private fields */ }
Implementations§
Source§impl ContainerClient
impl ContainerClient
pub fn from_sas_url(url: &Url) -> Result<Self>
Sourcepub fn create(&self) -> CreateBuilder
pub fn create(&self) -> CreateBuilder
Create a container
Sourcepub fn delete(&self) -> DeleteBuilder
pub fn delete(&self) -> DeleteBuilder
Delete a container
Sourcepub fn get_acl(&self) -> GetACLBuilder
pub fn get_acl(&self) -> GetACLBuilder
Get a container acl
Sourcepub fn set_acl(&self, public_access: PublicAccess) -> SetACLBuilder
pub fn set_acl(&self, public_access: PublicAccess) -> SetACLBuilder
Set a container acl
Sourcepub fn get_properties(&self) -> GetPropertiesBuilder
pub fn get_properties(&self) -> GetPropertiesBuilder
Get a container’s properties
Sourcepub fn list_blobs(&self) -> ListBlobsBuilder
pub fn list_blobs(&self) -> ListBlobsBuilder
List the blobs in a container
Sourcepub fn acquire_lease<LD: Into<LeaseDuration>>(
&self,
lease_duration: LD,
) -> AcquireLeaseBuilder
pub fn acquire_lease<LD: Into<LeaseDuration>>( &self, lease_duration: LD, ) -> AcquireLeaseBuilder
Acquite a lease on a container
Sourcepub fn break_lease(&self) -> BreakLeaseBuilder
pub fn break_lease(&self) -> BreakLeaseBuilder
Break the lease on a container
pub fn container_lease_client(&self, lease_id: LeaseId) -> ContainerLeaseClient
pub fn blob_client<BN: Into<String>>(&self, blob_name: BN) -> BlobClient
pub fn service_client(&self) -> BlobServiceClient
pub fn container_name(&self) -> &str
Create a shared access signature.
pub fn generate_signed_container_url<T>(&self, signature: &T) -> Result<Url>where
T: SasToken,
Trait Implementations§
Source§impl Clone for ContainerClient
impl Clone for ContainerClient
Source§fn clone(&self) -> ContainerClient
fn clone(&self) -> ContainerClient
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 ContainerClient
impl !RefUnwindSafe for ContainerClient
impl Send for ContainerClient
impl Sync for ContainerClient
impl Unpin for ContainerClient
impl !UnwindSafe for ContainerClient
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