pub struct CreateAzureCredentialDto {
pub provider: ProviderTrue,
pub service: ServiceTrue,
pub region: Option<RegionTrue>,
pub api_key: Option<String>,
pub fallback_index: Option<f64>,
pub bucket_plan: Option<AzureBlobStorageBucketPlan>,
pub name: Option<String>,
}
Fields§
§provider: ProviderTrue
§service: ServiceTrue
This is the service being used in Azure.
region: Option<RegionTrue>
This is the region of the Azure resource.
api_key: Option<String>
This is not returned in the API.
fallback_index: Option<f64>
This is the order in which this storage provider is tried during upload retries. Lower numbers are tried first in increasing order.
bucket_plan: Option<AzureBlobStorageBucketPlan>
This is the bucket plan that can be provided to store call artifacts in Azure Blob Storage.
name: Option<String>
This is the name of credential. This is just for your reference.
Implementations§
Source§impl CreateAzureCredentialDto
impl CreateAzureCredentialDto
pub fn new( provider: ProviderTrue, service: ServiceTrue, ) -> CreateAzureCredentialDto
Trait Implementations§
Source§impl Clone for CreateAzureCredentialDto
impl Clone for CreateAzureCredentialDto
Source§fn clone(&self) -> CreateAzureCredentialDto
fn clone(&self) -> CreateAzureCredentialDto
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for CreateAzureCredentialDto
impl Debug for CreateAzureCredentialDto
Source§impl Default for CreateAzureCredentialDto
impl Default for CreateAzureCredentialDto
Source§fn default() -> CreateAzureCredentialDto
fn default() -> CreateAzureCredentialDto
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CreateAzureCredentialDto
impl<'de> Deserialize<'de> for CreateAzureCredentialDto
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 CreateAzureCredentialDto
impl PartialEq for CreateAzureCredentialDto
Source§impl Serialize for CreateAzureCredentialDto
impl Serialize for CreateAzureCredentialDto
impl StructuralPartialEq for CreateAzureCredentialDto
Auto Trait Implementations§
impl Freeze for CreateAzureCredentialDto
impl RefUnwindSafe for CreateAzureCredentialDto
impl Send for CreateAzureCredentialDto
impl Sync for CreateAzureCredentialDto
impl Unpin for CreateAzureCredentialDto
impl UnwindSafe for CreateAzureCredentialDto
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