Struct shuttle_service::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<DbInput, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<DbInput, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Serialize for DbInput
impl Serialize for DbInput
source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. 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