pub struct SchemaV2 {
pub id: String,
pub name: String,
pub database_name: Option<StringWrapper>,
}Fields§
§id: String§name: String§database_name: Option<StringWrapper>Trait Implementations§
Source§impl Arbitrary for SchemaV2
impl Arbitrary for SchemaV2
Source§type Parameters = (<String as Arbitrary>::Parameters, <String as Arbitrary>::Parameters, <Option<StringWrapper> as Arbitrary>::Parameters)
type Parameters = (<String as Arbitrary>::Parameters, <String as Arbitrary>::Parameters, <Option<StringWrapper> as Arbitrary>::Parameters)
The type of parameters that
arbitrary_with accepts for configuration
of the generated Strategy. Parameters must implement Default.Source§type Strategy = Map<(<String as Arbitrary>::Strategy, <String as Arbitrary>::Strategy, <Option<StringWrapper> as Arbitrary>::Strategy), fn((String, String, Option<StringWrapper>)) -> SchemaV2>
type Strategy = Map<(<String as Arbitrary>::Strategy, <String as Arbitrary>::Strategy, <Option<StringWrapper> as Arbitrary>::Strategy), fn((String, String, Option<StringWrapper>)) -> SchemaV2>
The type of
Strategy used to generate values of type Self.Source§fn arbitrary_with(_top: Self::Parameters) -> Self::Strategy
fn arbitrary_with(_top: Self::Parameters) -> Self::Strategy
Source§impl<'de> Deserialize<'de> for SchemaV2
impl<'de> Deserialize<'de> for SchemaV2
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
impl Eq for SchemaV2
Source§impl Ord for SchemaV2
impl Ord for SchemaV2
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for SchemaV2
impl PartialOrd for SchemaV2
impl StructuralPartialEq for SchemaV2
Auto Trait Implementations§
impl Freeze for SchemaV2
impl RefUnwindSafe for SchemaV2
impl Send for SchemaV2
impl Sync for SchemaV2
impl Unpin for SchemaV2
impl UnsafeUnpin for SchemaV2
impl UnwindSafe for SchemaV2
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