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
Source§impl<T> CloneToUninit for Twhere
    T: Clone,
 
impl<T> CloneToUninit for Twhere
    T: Clone,
Source§impl<T> Instrument for T
 
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
 
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
 
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
 
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
 
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts 
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
 
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts 
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more