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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)