pub struct InitTestDbBody {
pub url: InitTestDbBodyUrl,
}Expand description
InitTestDbBody
JSON schema
{
"type": "object",
"required": [
"url"
],
"properties": {
"url": {
"type": "string",
"minLength": 1
}
}
}Fields§
§url: InitTestDbBodyUrlImplementations§
Source§impl InitTestDbBody
impl InitTestDbBody
pub fn builder() -> InitTestDbBody
Trait Implementations§
Source§impl Clone for InitTestDbBody
impl Clone for InitTestDbBody
Source§fn clone(&self) -> InitTestDbBody
fn clone(&self) -> InitTestDbBody
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 InitTestDbBody
impl Debug for InitTestDbBody
Source§impl<'de> Deserialize<'de> for InitTestDbBody
impl<'de> Deserialize<'de> for InitTestDbBody
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<&InitTestDbBody> for InitTestDbBody
impl From<&InitTestDbBody> for InitTestDbBody
Source§fn from(value: &InitTestDbBody) -> Self
fn from(value: &InitTestDbBody) -> Self
Converts to this type from the input type.
Source§impl From<InitTestDbBody> for InitTestDbBody
impl From<InitTestDbBody> for InitTestDbBody
Source§fn from(value: InitTestDbBody) -> Self
fn from(value: InitTestDbBody) -> Self
Converts to this type from the input type.
Source§impl Serialize for InitTestDbBody
impl Serialize for InitTestDbBody
Source§impl TryFrom<InitTestDbBody> for InitTestDbBody
impl TryFrom<InitTestDbBody> for InitTestDbBody
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: InitTestDbBody) -> Result<Self, ConversionError>
fn try_from(value: InitTestDbBody) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for InitTestDbBody
impl RefUnwindSafe for InitTestDbBody
impl Send for InitTestDbBody
impl Sync for InitTestDbBody
impl Unpin for InitTestDbBody
impl UnsafeUnpin for InitTestDbBody
impl UnwindSafe for InitTestDbBody
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