pub struct AzureConfig {
pub search_service_name: String,
pub search_api_key: String,
pub search_api_version: String,
pub search_index_name: String,
pub cosmos_endpoint: String,
pub cosmos_key: String,
pub cosmos_database_name: String,
pub cosmos_container_name: String,
}
Expand description
Azure service configuration.
Contains credentials and settings for Azure Cognitive Search and CosmosDB.
Fields§
§search_service_name: String
Azure Cognitive Search service name
search_api_key: String
Azure Cognitive Search API key
search_api_version: String
Azure Cognitive Search API version
search_index_name: String
Name of the search index to use
cosmos_endpoint: String
CosmosDB account endpoint URL
cosmos_key: String
CosmosDB primary access key
cosmos_database_name: String
CosmosDB database name
cosmos_container_name: String
CosmosDB container name for web pages
Trait Implementations§
Source§impl Clone for AzureConfig
impl Clone for AzureConfig
Source§fn clone(&self) -> AzureConfig
fn clone(&self) -> AzureConfig
Returns a copy 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 AzureConfig
impl Debug for AzureConfig
Source§impl<'de> Deserialize<'de> for AzureConfig
impl<'de> Deserialize<'de> for AzureConfig
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
Auto Trait Implementations§
impl Freeze for AzureConfig
impl RefUnwindSafe for AzureConfig
impl Send for AzureConfig
impl Sync for AzureConfig
impl Unpin for AzureConfig
impl UnwindSafe for AzureConfig
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