pub struct StoreConfig {
pub data_dir: PathBuf,
pub redis_url: Option<String>,
pub dynamodb_table_prefix: Option<String>,
pub dynamodb_region: Option<String>,
pub firestore_project: Option<String>,
pub firestore_database: Option<String>,
pub cosmosdb_connection_string: Option<String>,
pub cosmosdb_database: Option<String>,
pub cosmosdb_region: Option<String>,
}Fields§
§data_dir: PathBuf§redis_url: Option<String>Redis connection URL (e.g. redis://localhost:6379). Used by store-redis backend.
dynamodb_table_prefix: Option<String>DynamoDB table name prefix (default: "webvh"). Used by store-dynamodb backend.
dynamodb_region: Option<String>AWS region for DynamoDB. Used by store-dynamodb backend.
firestore_project: Option<String>GCP project ID for Firestore. Used by store-firestore backend.
firestore_database: Option<String>Firestore database name (default: "(default)"). Used by store-firestore backend.
cosmosdb_connection_string: Option<String>Azure Cosmos DB connection string. Used by store-cosmosdb backend.
cosmosdb_database: Option<String>Cosmos DB database name (default: "webvh"). Used by store-cosmosdb backend.
cosmosdb_region: Option<String>Azure region name for Cosmos DB routing (e.g. "eastus", "westeurope",
or display form "West US 2"). Defaults to "eastus" when unset. The
SDK normalizes the name; see azure_data_cosmos::Region for the list
of well-known regions.
Trait Implementations§
Source§impl Clone for StoreConfig
impl Clone for StoreConfig
Source§fn clone(&self) -> StoreConfig
fn clone(&self) -> StoreConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 StoreConfig
impl Debug for StoreConfig
Source§impl Default for StoreConfig
impl Default for StoreConfig
Source§fn default() -> StoreConfig
fn default() -> StoreConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for StoreConfig
impl<'de> Deserialize<'de> for StoreConfig
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<StoreConfig, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<StoreConfig, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for StoreConfig
impl Serialize for StoreConfig
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for StoreConfig
impl RefUnwindSafe for StoreConfig
impl Send for StoreConfig
impl Sync for StoreConfig
impl Unpin for StoreConfig
impl UnsafeUnpin for StoreConfig
impl UnwindSafe for StoreConfig
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