Struct azure_storage_blobs::prelude::ContainerClient
source · [−]pub struct ContainerClient { /* private fields */ }
Implementations
sourceimpl 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 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
sourceimpl Clone for ContainerClient
impl Clone for ContainerClient
sourcefn clone(&self) -> ContainerClient
fn clone(&self) -> ContainerClient
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations
impl !RefUnwindSafe for ContainerClient
impl Send for ContainerClient
impl Sync for ContainerClient
impl Unpin for ContainerClient
impl !UnwindSafe for ContainerClient
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more