Struct shuttle_common::DbInput
source · pub struct DbInput {
pub local_uri: Option<String>,
pub db_name: Option<String>,
}
Expand description
The input given to Shuttle DB resources
Fields§
§local_uri: Option<String>
§db_name: Option<String>
Override the default db name. Only applies to RDS.
Trait Implementations§
source§impl<'de> Deserialize<'de> for DbInput
impl<'de> Deserialize<'de> for DbInput
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 DbInput
impl RefUnwindSafe for DbInput
impl Send for DbInput
impl Sync for DbInput
impl Unpin for DbInput
impl UnwindSafe for DbInput
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