Struct azure_sdk_rust::azure::storage::container::Container
[−]
[src]
pub struct Container { pub name: String, pub last_modified: DateTime<UTC>, pub e_tag: String, pub lease_status: LeaseStatus, pub lease_state: LeaseState, pub lease_duration: Option<LeaseDuration>, }
Fields
name: String
last_modified: DateTime<UTC>
e_tag: String
lease_status: LeaseStatus
lease_state: LeaseState
lease_duration: Option<LeaseDuration>
Methods
impl Container
[src]
fn new(name: &str) -> Container
fn parse(elem: &Element) -> Result<Container, AzureError>
fn delete(&mut self, c: &Client) -> Result<(), AzureError>
fn create(c: &Client,
container_name: &str,
pa: PublicAccess)
-> Result<(), AzureError>
container_name: &str,
pa: PublicAccess)
-> Result<(), AzureError>
fn list(c: &Client,
lco: &ListContainerOptions)
-> Result<IncompleteVector<Container>, AzureError>
lco: &ListContainerOptions)
-> Result<IncompleteVector<Container>, AzureError>