pub struct NewDatabase {
pub name: String,
pub project: Option<String>,
pub environment: Option<String>,
pub version: Option<String>,
}Fields§
§name: String§project: Option<String>Default: the backed-up database’s project and environment.
environment: Option<String>§version: Option<String>Default: the backed-up database’s version.
Trait Implementations§
Source§impl Clone for NewDatabase
impl Clone for NewDatabase
Source§impl Debug for NewDatabase
impl Debug for NewDatabase
Source§impl Default for NewDatabase
impl Default for NewDatabase
Source§impl<'de> Deserialize<'de> for NewDatabase
impl<'de> Deserialize<'de> for NewDatabase
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 NewDatabase
impl RefUnwindSafe for NewDatabase
impl Send for NewDatabase
impl Sync for NewDatabase
impl Unpin for NewDatabase
impl UnsafeUnpin for NewDatabase
impl UnwindSafe for NewDatabase
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