pub struct SqliteSourceConfigDto {
pub path: Option<ConfigValue<String>>,
pub tables: Option<Vec<String>>,
pub table_keys: Vec<TableKeyConfigDto>,
pub rest_api: Option<RestApiConfigDto>,
}Expand description
SQLite source configuration DTO.
Fields§
§path: Option<ConfigValue<String>>SQLite file path. Omit or set to null for an in-memory database.
tables: Option<Vec<String>>Optional explicit table allow-list. Omit or set to null for all user tables.
table_keys: Vec<TableKeyConfigDto>Optional explicit key config for element ID generation.
rest_api: Option<RestApiConfigDto>Optional REST API configuration. When provided, CRUD endpoints are exposed.
Trait Implementations§
Source§impl Clone for SqliteSourceConfigDto
impl Clone for SqliteSourceConfigDto
Source§fn clone(&self) -> SqliteSourceConfigDto
fn clone(&self) -> SqliteSourceConfigDto
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 SqliteSourceConfigDto
impl Debug for SqliteSourceConfigDto
Source§impl<'de> Deserialize<'de> for SqliteSourceConfigDto
impl<'de> Deserialize<'de> for SqliteSourceConfigDto
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 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 SqliteSourceConfigDto
impl PartialEq for SqliteSourceConfigDto
Source§fn eq(&self, other: &SqliteSourceConfigDto) -> bool
fn eq(&self, other: &SqliteSourceConfigDto) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SqliteSourceConfigDto
impl Serialize for SqliteSourceConfigDto
impl StructuralPartialEq for SqliteSourceConfigDto
Auto Trait Implementations§
impl Freeze for SqliteSourceConfigDto
impl RefUnwindSafe for SqliteSourceConfigDto
impl Send for SqliteSourceConfigDto
impl Sync for SqliteSourceConfigDto
impl Unpin for SqliteSourceConfigDto
impl UnsafeUnpin for SqliteSourceConfigDto
impl UnwindSafe for SqliteSourceConfigDto
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