pub enum Kind {
Show 23 variants
AuditLog(AuditLog),
Cluster(Cluster),
ClusterReplica(ClusterReplica),
Comment(Comment),
Config(Config),
Database(Database),
DefaultPrivileges(DefaultPrivileges),
IdAlloc(IdAlloc),
ClusterIntrospectionSourceIndex(ClusterIntrospectionSourceIndex),
Item(Item),
Role(Role),
Schema(Schema),
Setting(Setting),
ServerConfiguration(ServerConfiguration),
GidMapping(GidMapping),
SystemPrivileges(SystemPrivileges),
StorageCollectionMetadata(StorageCollectionMetadata),
UnfinalizedShard(UnfinalizedShard),
TxnWalShard(TxnWalShard),
SourceReferences(SourceReferences),
FenceToken(FenceToken),
NetworkPolicy(NetworkPolicy),
RoleAuth(RoleAuth),
}Variants§
AuditLog(AuditLog)
Cluster(Cluster)
ClusterReplica(ClusterReplica)
Comment(Comment)
Config(Config)
Database(Database)
DefaultPrivileges(DefaultPrivileges)
IdAlloc(IdAlloc)
ClusterIntrospectionSourceIndex(ClusterIntrospectionSourceIndex)
Item(Item)
Role(Role)
Schema(Schema)
Setting(Setting)
ServerConfiguration(ServerConfiguration)
GidMapping(GidMapping)
SystemPrivileges(SystemPrivileges)
StorageCollectionMetadata(StorageCollectionMetadata)
UnfinalizedShard(UnfinalizedShard)
TxnWalShard(TxnWalShard)
SourceReferences(SourceReferences)
FenceToken(FenceToken)
NetworkPolicy(NetworkPolicy)
RoleAuth(RoleAuth)
Trait Implementations§
Source§impl Arbitrary for Kind
impl Arbitrary for Kind
Source§type Parameters = (<AuditLog as Arbitrary>::Parameters, <Cluster as Arbitrary>::Parameters, <ClusterReplica as Arbitrary>::Parameters, <Comment as Arbitrary>::Parameters, <Config as Arbitrary>::Parameters, <Database as Arbitrary>::Parameters, <DefaultPrivileges as Arbitrary>::Parameters, <IdAlloc as Arbitrary>::Parameters, <ClusterIntrospectionSourceIndex as Arbitrary>::Parameters, (<Item as Arbitrary>::Parameters, <Role as Arbitrary>::Parameters, <Schema as Arbitrary>::Parameters, <Setting as Arbitrary>::Parameters, <ServerConfiguration as Arbitrary>::Parameters, <GidMapping as Arbitrary>::Parameters, <SystemPrivileges as Arbitrary>::Parameters, <StorageCollectionMetadata as Arbitrary>::Parameters, <UnfinalizedShard as Arbitrary>::Parameters, (<TxnWalShard as Arbitrary>::Parameters, <SourceReferences as Arbitrary>::Parameters, <FenceToken as Arbitrary>::Parameters, <NetworkPolicy as Arbitrary>::Parameters, <RoleAuth as Arbitrary>::Parameters)))
type Parameters = (<AuditLog as Arbitrary>::Parameters, <Cluster as Arbitrary>::Parameters, <ClusterReplica as Arbitrary>::Parameters, <Comment as Arbitrary>::Parameters, <Config as Arbitrary>::Parameters, <Database as Arbitrary>::Parameters, <DefaultPrivileges as Arbitrary>::Parameters, <IdAlloc as Arbitrary>::Parameters, <ClusterIntrospectionSourceIndex as Arbitrary>::Parameters, (<Item as Arbitrary>::Parameters, <Role as Arbitrary>::Parameters, <Schema as Arbitrary>::Parameters, <Setting as Arbitrary>::Parameters, <ServerConfiguration as Arbitrary>::Parameters, <GidMapping as Arbitrary>::Parameters, <SystemPrivileges as Arbitrary>::Parameters, <StorageCollectionMetadata as Arbitrary>::Parameters, <UnfinalizedShard as Arbitrary>::Parameters, (<TxnWalShard as Arbitrary>::Parameters, <SourceReferences as Arbitrary>::Parameters, <FenceToken as Arbitrary>::Parameters, <NetworkPolicy as Arbitrary>::Parameters, <RoleAuth as Arbitrary>::Parameters)))
The type of parameters that
arbitrary_with accepts for configuration
of the generated Strategy. Parameters must implement Default.Source§type Strategy = Union<BoxedStrategy<Kind>>
type Strategy = Union<BoxedStrategy<Kind>>
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 Kind
impl<'de> Deserialize<'de> for Kind
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 Kind
Source§impl Ord for Kind
impl Ord for Kind
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 Kind
impl PartialOrd for Kind
impl StructuralPartialEq for Kind
Auto Trait Implementations§
impl Freeze for Kind
impl RefUnwindSafe for Kind
impl Send for Kind
impl Sync for Kind
impl Unpin for Kind
impl UnsafeUnpin for Kind
impl UnwindSafe for Kind
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