pub struct DatabasesAddBody {
pub name: String,
}Expand description
DatabasesAddBody
JSON schema
{
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"description": "The name of the database.",
"examples": [
"alpha"
],
"type": "string"
}
}
}Fields§
§name: StringThe name of the database.
Trait Implementations§
Source§impl Clone for DatabasesAddBody
impl Clone for DatabasesAddBody
Source§fn clone(&self) -> DatabasesAddBody
fn clone(&self) -> DatabasesAddBody
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DatabasesAddBody
impl Debug for DatabasesAddBody
Source§impl<'de> Deserialize<'de> for DatabasesAddBody
impl<'de> Deserialize<'de> for DatabasesAddBody
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
Source§impl From<&DatabasesAddBody> for DatabasesAddBody
impl From<&DatabasesAddBody> for DatabasesAddBody
Source§fn from(value: &DatabasesAddBody) -> Self
fn from(value: &DatabasesAddBody) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DatabasesAddBody
impl RefUnwindSafe for DatabasesAddBody
impl Send for DatabasesAddBody
impl Sync for DatabasesAddBody
impl Unpin for DatabasesAddBody
impl UnsafeUnpin for DatabasesAddBody
impl UnwindSafe for DatabasesAddBody
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