pub struct AzblobConfig {
pub root: Option<String>,
pub container: String,
pub endpoint: Option<String>,
pub account_name: Option<String>,
pub account_key: Option<String>,
pub encryption_key: Option<String>,
pub encryption_key_sha256: Option<String>,
pub encryption_algorithm: Option<String>,
pub sas_token: Option<String>,
pub batch_max_operations: Option<usize>,
}
Expand description
Azure Storage Blob services support.
Fields§
§root: Option<String>
The root of Azblob service backend.
All operations will happen under this root.
container: String
The container name of Azblob service backend.
endpoint: Option<String>
The endpoint of Azblob service backend.
Endpoint must be full uri, e.g.
- Azblob:
https://accountname.blob.core.windows.net
- Azurite:
http://127.0.0.1:10000/devstoreaccount1
account_name: Option<String>
The account name of Azblob service backend.
account_key: Option<String>
The account key of Azblob service backend.
encryption_key: Option<String>
The encryption key of Azblob service backend.
encryption_key_sha256: Option<String>
The encryption key sha256 of Azblob service backend.
encryption_algorithm: Option<String>
The encryption algorithm of Azblob service backend.
sas_token: Option<String>
The sas token of Azblob service backend.
batch_max_operations: Option<usize>
The maximum batch operations of Azblob service backend.
Trait Implementations§
Source§impl Clone for AzblobConfig
impl Clone for AzblobConfig
Source§fn clone(&self) -> AzblobConfig
fn clone(&self) -> AzblobConfig
Returns a duplicate 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 moreSource§impl Debug for AzblobConfig
impl Debug for AzblobConfig
Source§impl Default for AzblobConfig
impl Default for AzblobConfig
Source§fn default() -> AzblobConfig
fn default() -> AzblobConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AzblobConfig
impl<'de> Deserialize<'de> for AzblobConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for AzblobConfig
impl PartialEq for AzblobConfig
Source§impl Serialize for AzblobConfig
impl Serialize for AzblobConfig
impl Eq for AzblobConfig
impl StructuralPartialEq for AzblobConfig
Auto Trait Implementations§
impl Freeze for AzblobConfig
impl RefUnwindSafe for AzblobConfig
impl Send for AzblobConfig
impl Sync for AzblobConfig
impl Unpin for AzblobConfig
impl UnwindSafe for AzblobConfig
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.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> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ServiceExt for T
impl<T> ServiceExt for T
Source§fn map_response_body<F>(self, f: F) -> MapResponseBody<Self, F>where
Self: Sized,
fn map_response_body<F>(self, f: F) -> MapResponseBody<Self, F>where
Self: Sized,
Apply a transformation to the response body. Read more
Source§fn decompression(self) -> Decompression<Self>where
Self: Sized,
fn decompression(self) -> Decompression<Self>where
Self: Sized,
Decompress response bodies. Read more
Source§fn trace_for_http(self) -> Trace<Self, SharedClassifier<ServerErrorsAsFailures>>where
Self: Sized,
fn trace_for_http(self) -> Trace<Self, SharedClassifier<ServerErrorsAsFailures>>where
Self: Sized,
High level tracing that classifies responses using HTTP status codes. Read more
Source§fn trace_for_grpc(self) -> Trace<Self, SharedClassifier<GrpcErrorsAsFailures>>where
Self: Sized,
fn trace_for_grpc(self) -> Trace<Self, SharedClassifier<GrpcErrorsAsFailures>>where
Self: Sized,
High level tracing that classifies responses using gRPC headers. Read more