pub struct Client(/* private fields */);
Implementations§
source§impl Client
impl Client
sourcepub fn create(
&self,
container_name: impl Into<String>,
blob: impl Into<String>,
x_ms_blob_type: impl Into<String>,
content_length: i64,
) -> RequestBuilder
pub fn create( &self, container_name: impl Into<String>, blob: impl Into<String>, x_ms_blob_type: impl Into<String>, content_length: i64, ) -> RequestBuilder
The Create Append Blob operation creates a new append blob.
Arguments:
container_name
: The container name.blob
: The blob name.x_ms_blob_type
: Specifies the type of blob to create: block blob, page blob, or append blob.content_length
: The length of the request.
sourcepub fn append_block(
&self,
container_name: impl Into<String>,
blob: impl Into<String>,
body: impl Into<Value>,
content_length: i64,
) -> RequestBuilder
pub fn append_block( &self, container_name: impl Into<String>, blob: impl Into<String>, body: impl Into<Value>, content_length: i64, ) -> RequestBuilder
The Append Block operation commits a new block of data to the end of an existing append blob. The Append Block operation is permitted only if the blob was created with x-ms-blob-type set to AppendBlob. Append Block is supported only on version 2015-02-21 version or later.
Arguments:
container_name
: The container name.blob
: The blob name.body
: Initial datacontent_length
: The length of the request.
sourcepub fn append_block_from_url(
&self,
container_name: impl Into<String>,
blob: impl Into<String>,
x_ms_copy_source: impl Into<String>,
content_length: i64,
) -> RequestBuilder
pub fn append_block_from_url( &self, container_name: impl Into<String>, blob: impl Into<String>, x_ms_copy_source: impl Into<String>, content_length: i64, ) -> RequestBuilder
The Append Block operation commits a new block of data to the end of an existing append blob where the contents are read from a source url. The Append Block operation is permitted only if the blob was created with x-ms-blob-type set to AppendBlob. Append Block is supported only on version 2015-02-21 version or later.
Arguments:
container_name
: The container name.blob
: The blob name.x_ms_copy_source
: Specify a URL to the copy source.content_length
: The length of the request.
Auto Trait Implementations§
impl Freeze for Client
impl !RefUnwindSafe for Client
impl Send for Client
impl Sync for Client
impl Unpin for Client
impl !UnwindSafe for Client
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