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