pub struct DatabaseSource {
pub engine: Engine,
pub version: String,
pub database: Option<String>,
pub user: Option<String>,
}Expand description
source: {database: ...}.
Fields§
§engine: Engine§version: StringThe image tag (17, 8.4); default per engine. Changing it is a
deploy of the new image over the same data: minor versions only for
engines that cannot upgrade data in place (Postgres majors).
database: Option<String>The database created on first start (not Redis). Default: the app
name with - as _.
user: Option<String>The user created on first start (not Redis; MongoDB’s root user).
Implementations§
Source§impl DatabaseSource
impl DatabaseSource
Trait Implementations§
Source§impl Clone for DatabaseSource
impl Clone for DatabaseSource
Source§impl Debug for DatabaseSource
impl Debug for DatabaseSource
Source§impl<'de> Deserialize<'de> for DatabaseSource
impl<'de> Deserialize<'de> for DatabaseSource
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
impl Eq for DatabaseSource
Source§impl PartialEq for DatabaseSource
impl PartialEq for DatabaseSource
Source§impl Serialize for DatabaseSource
impl Serialize for DatabaseSource
impl StructuralPartialEq for DatabaseSource
Auto Trait Implementations§
impl Freeze for DatabaseSource
impl RefUnwindSafe for DatabaseSource
impl Send for DatabaseSource
impl Sync for DatabaseSource
impl Unpin for DatabaseSource
impl UnsafeUnpin for DatabaseSource
impl UnwindSafe for DatabaseSource
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.