pub struct RelationalStore {
pub enabled: bool,
pub kind: RelationalKind,
pub host: String,
pub port: u16,
pub secure: bool,
pub db_name: String,
pub username: Option<String>,
pub password: Option<String>,
pub pool_size: u8,
pub default_limit: u32,
pub default_offset: u32,
pub prefix: Option<String>,
}
Fields§
§enabled: bool
§kind: RelationalKind
§host: String
§port: u16
§secure: bool
§db_name: String
§username: Option<String>
§password: Option<String>
§pool_size: u8
§default_limit: u32
§default_offset: u32
§prefix: Option<String>
Trait Implementations§
Source§impl Clone for RelationalStore
impl Clone for RelationalStore
Source§fn clone(&self) -> RelationalStore
fn clone(&self) -> RelationalStore
Returns a copy of the value. Read more
1.0.0 · 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 RelationalStore
impl Debug for RelationalStore
Source§impl Default for RelationalStore
impl Default for RelationalStore
Source§fn default() -> RelationalStore
fn default() -> RelationalStore
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RelationalStore
impl<'de> Deserialize<'de> for RelationalStore
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
Auto Trait Implementations§
impl Freeze for RelationalStore
impl RefUnwindSafe for RelationalStore
impl Send for RelationalStore
impl Sync for RelationalStore
impl Unpin for RelationalStore
impl UnwindSafe for RelationalStore
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