#[repr(u64)]pub enum PreviewFeature {
Show 51 variants
AggregateApi = 1,
AtomicNumberOperations = 2,
ClientExtensions = 4,
Cockroachdb = 8,
ConnectOrCreate = 16,
CreateMany = 32,
DataProxy = 64,
Deno = 128,
Distinct = 256,
DriverAdapters = 512,
ExtendedIndexes = 1_024,
ExtendedWhereUnique = 2_048,
FieldReference = 4_096,
FilterJson = 8_192,
FilteredRelationCount = 16_384,
FullTextIndex = 32_768,
FullTextSearch = 65_536,
FullTextSearchPostgres = 131_072,
GroupBy = 262_144,
ImprovedQueryRaw = 524_288,
InteractiveTransactions = 1_048_576,
JsonProtocol = 2_097_152,
Metrics = 4_194_304,
MicrosoftSqlServer = 8_388_608,
Middlewares = 16_777_216,
MongoDb = 33_554_432,
MultiSchema = 67_108_864,
NApi = 134_217_728,
NamedConstraints = 268_435_456,
NativeDistinct = 536_870_912,
NativeTypes = 1_073_741_824,
OmitApi = 2_147_483_648,
OrderByAggregateGroup = 4_294_967_296,
OrderByNulls = 8_589_934_592,
OrderByRelation = 17_179_869_184,
PostgresqlExtensions = 34_359_738_368,
PrismaSchemaFolder = 68_719_476_736,
QueryCompiler = 137_438_953_472,
ReactNative = 274_877_906_944,
ReferentialActions = 549_755_813_888,
ReferentialIntegrity = 1_099_511_627_776,
RelationJoins = 2_199_023_255_552,
SchemaEngineDriverAdapters = 4_398_046_511_104,
SelectRelationCount = 8_796_093_022_208,
ShardKeys = 17_592_186_044_416,
StrictUndefinedChecks = 35_184_372_088_832,
Tracing = 70_368_744_177_664,
TransactionApi = 140_737_488_355_328,
TypedSql = 281_474_976_710_656,
UncheckedScalarInputs = 562_949_953_421_312,
Views = 1_125_899_906_842_624,
}Variants§
AggregateApi = 1
AtomicNumberOperations = 2
ClientExtensions = 4
Cockroachdb = 8
ConnectOrCreate = 16
CreateMany = 32
DataProxy = 64
Deno = 128
Distinct = 256
DriverAdapters = 512
ExtendedIndexes = 1_024
ExtendedWhereUnique = 2_048
FieldReference = 4_096
FilterJson = 8_192
FilteredRelationCount = 16_384
FullTextIndex = 32_768
FullTextSearch = 65_536
FullTextSearchPostgres = 131_072
GroupBy = 262_144
ImprovedQueryRaw = 524_288
InteractiveTransactions = 1_048_576
JsonProtocol = 2_097_152
Metrics = 4_194_304
MicrosoftSqlServer = 8_388_608
Middlewares = 16_777_216
MongoDb = 33_554_432
MultiSchema = 67_108_864
NApi = 134_217_728
NamedConstraints = 268_435_456
NativeDistinct = 536_870_912
NativeTypes = 1_073_741_824
OmitApi = 2_147_483_648
OrderByAggregateGroup = 4_294_967_296
OrderByNulls = 8_589_934_592
OrderByRelation = 17_179_869_184
PostgresqlExtensions = 34_359_738_368
PrismaSchemaFolder = 68_719_476_736
QueryCompiler = 137_438_953_472
ReactNative = 274_877_906_944
ReferentialActions = 549_755_813_888
ReferentialIntegrity = 1_099_511_627_776
RelationJoins = 2_199_023_255_552
SchemaEngineDriverAdapters = 4_398_046_511_104
SelectRelationCount = 8_796_093_022_208
ShardKeys = 17_592_186_044_416
StrictUndefinedChecks = 35_184_372_088_832
Tracing = 70_368_744_177_664
TransactionApi = 140_737_488_355_328
TypedSql = 281_474_976_710_656
UncheckedScalarInputs = 562_949_953_421_312
Views = 1_125_899_906_842_624
Implementations§
Source§impl PreviewFeature
impl PreviewFeature
pub fn parse_opt(s: &str) -> Option<PreviewFeature>
Trait Implementations§
Source§impl BitAnd for PreviewFeature
impl BitAnd for PreviewFeature
Source§type Output = BitFlags<PreviewFeature>
type Output = BitFlags<PreviewFeature>
The resulting type after applying the
& operator.Source§fn bitand(self, other: PreviewFeature) -> <PreviewFeature as BitAnd>::Output
fn bitand(self, other: PreviewFeature) -> <PreviewFeature as BitAnd>::Output
Performs the
& operation. Read moreSource§impl BitFlag for PreviewFeature
impl BitFlag for PreviewFeature
Source§fn empty() -> BitFlags<Self>
fn empty() -> BitFlags<Self>
Create a
BitFlags with no flags set (in other words, with a value of 0). Read moreSource§fn from_bits(bits: Self::Numeric) -> Result<BitFlags<Self>, FromBitsError<Self>>
fn from_bits(bits: Self::Numeric) -> Result<BitFlags<Self>, FromBitsError<Self>>
Create a
BitFlags if the raw value provided does not contain
any illegal flags. Read moreSource§fn from_bits_truncate(bits: Self::Numeric) -> BitFlags<Self>
fn from_bits_truncate(bits: Self::Numeric) -> BitFlags<Self>
Create a
BitFlags from an underlying bitwise value. If any
invalid bits are set, ignore them. Read moreSource§unsafe fn from_bits_unchecked(bits: Self::Numeric) -> BitFlags<Self>
unsafe fn from_bits_unchecked(bits: Self::Numeric) -> BitFlags<Self>
Create a
BitFlags unsafely, without checking if the bits form
a valid bit pattern for the type. Read moreSource§impl BitOr for PreviewFeature
impl BitOr for PreviewFeature
Source§type Output = BitFlags<PreviewFeature>
type Output = BitFlags<PreviewFeature>
The resulting type after applying the
| operator.Source§fn bitor(self, other: PreviewFeature) -> <PreviewFeature as BitOr>::Output
fn bitor(self, other: PreviewFeature) -> <PreviewFeature as BitOr>::Output
Performs the
| operation. Read moreSource§impl BitXor for PreviewFeature
impl BitXor for PreviewFeature
Source§type Output = BitFlags<PreviewFeature>
type Output = BitFlags<PreviewFeature>
The resulting type after applying the
^ operator.Source§fn bitxor(self, other: PreviewFeature) -> <PreviewFeature as BitXor>::Output
fn bitxor(self, other: PreviewFeature) -> <PreviewFeature as BitXor>::Output
Performs the
^ operation. Read moreSource§impl Clone for PreviewFeature
impl Clone for PreviewFeature
Source§fn clone(&self) -> PreviewFeature
fn clone(&self) -> PreviewFeature
Returns a duplicate of the value. Read more
1.0.0 · 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 PreviewFeature
impl Debug for PreviewFeature
Source§impl Display for PreviewFeature
impl Display for PreviewFeature
Source§impl Hash for PreviewFeature
impl Hash for PreviewFeature
Source§impl Not for PreviewFeature
impl Not for PreviewFeature
Source§impl PartialEq for PreviewFeature
impl PartialEq for PreviewFeature
Source§impl Serialize for PreviewFeature
impl Serialize for PreviewFeature
Source§fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Copy for PreviewFeature
impl Eq for PreviewFeature
impl StructuralPartialEq for PreviewFeature
Auto Trait Implementations§
impl Freeze for PreviewFeature
impl RefUnwindSafe for PreviewFeature
impl Send for PreviewFeature
impl Sync for PreviewFeature
impl Unpin for PreviewFeature
impl UnsafeUnpin for PreviewFeature
impl UnwindSafe for PreviewFeature
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more