pub struct SqliteSourceConfig {
pub path: Option<String>,
pub tables: Option<Vec<String>>,
pub table_keys: Vec<TableKeyConfig>,
pub rest_api: Option<RestApiConfig>,
pub start_from: StartFrom,
}Expand description
SQLite source configuration.
Fields§
§path: Option<String>SQLite file path. When None, an in-memory database is used.
tables: Option<Vec<String>>Optional explicit table allow-list. None means all user tables.
table_keys: Vec<TableKeyConfig>Optional explicit key config for element ID generation.
rest_api: Option<RestApiConfig>Optional REST API configuration.
start_from: StartFromInitial start behavior.
Trait Implementations§
Source§impl Clone for SqliteSourceConfig
impl Clone for SqliteSourceConfig
Source§fn clone(&self) -> SqliteSourceConfig
fn clone(&self) -> SqliteSourceConfig
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 SqliteSourceConfig
impl Debug for SqliteSourceConfig
Source§impl Default for SqliteSourceConfig
impl Default for SqliteSourceConfig
Source§impl From<&SqliteSourceConfig> for SqliteSourceConfigDto
impl From<&SqliteSourceConfig> for SqliteSourceConfigDto
Source§fn from(config: &SqliteSourceConfig) -> Self
fn from(config: &SqliteSourceConfig) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SqliteSourceConfig
impl PartialEq for SqliteSourceConfig
Source§fn eq(&self, other: &SqliteSourceConfig) -> bool
fn eq(&self, other: &SqliteSourceConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for SqliteSourceConfig
impl StructuralPartialEq for SqliteSourceConfig
Auto Trait Implementations§
impl Freeze for SqliteSourceConfig
impl RefUnwindSafe for SqliteSourceConfig
impl Send for SqliteSourceConfig
impl Sync for SqliteSourceConfig
impl Unpin for SqliteSourceConfig
impl UnsafeUnpin for SqliteSourceConfig
impl UnwindSafe for SqliteSourceConfig
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<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.