1
2
3
4
5
6
7
8
9
10
11
12
13
use enumflags2::BitFlags;
use psl::PreviewFeature;

/// Parameters passed from the core to connectors on initialization.
#[derive(Debug)]
pub struct ConnectorParams {
    /// The raw connection string or `url` datasource property.
    pub connection_string: String,
    /// The opted-into preview features.
    pub preview_features: BitFlags<PreviewFeature>,
    /// The shadow database connection string.
    pub shadow_database_connection_string: Option<String>,
}