Skip to main content

PreviewFeature

Enum PreviewFeature 

Source
#[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§

Trait Implementations§

Source§

impl BitAnd for PreviewFeature

Source§

type Output = BitFlags<PreviewFeature>

The resulting type after applying the & operator.
Source§

fn bitand(self, other: PreviewFeature) -> <PreviewFeature as BitAnd>::Output

Performs the & operation. Read more
Source§

impl BitFlag for PreviewFeature

Source§

fn empty() -> BitFlags<Self>

Create a BitFlags with no flags set (in other words, with a value of 0). Read more
Source§

fn all() -> BitFlags<Self>

Create a BitFlags with all flags set. Read more
Source§

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 more
Source§

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 more
Source§

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 more
Source§

impl BitOr for PreviewFeature

Source§

type Output = BitFlags<PreviewFeature>

The resulting type after applying the | operator.
Source§

fn bitor(self, other: PreviewFeature) -> <PreviewFeature as BitOr>::Output

Performs the | operation. Read more
Source§

impl BitXor for PreviewFeature

Source§

type Output = BitFlags<PreviewFeature>

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, other: PreviewFeature) -> <PreviewFeature as BitXor>::Output

Performs the ^ operation. Read more
Source§

impl Clone for PreviewFeature

Source§

fn clone(&self) -> PreviewFeature

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for PreviewFeature

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl Display for PreviewFeature

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl Hash for PreviewFeature

Source§

fn hash<__H>(&self, state: &mut __H)
where __H: Hasher,

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl Not for PreviewFeature

Source§

type Output = BitFlags<PreviewFeature>

The resulting type after applying the ! operator.
Source§

fn not(self) -> <PreviewFeature as Not>::Output

Performs the unary ! operation. Read more
Source§

impl PartialEq for PreviewFeature

Source§

fn eq(&self, other: &PreviewFeature) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Serialize for PreviewFeature

Source§

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
Source§

impl Copy for PreviewFeature

Source§

impl Eq for PreviewFeature

Source§

impl StructuralPartialEq for PreviewFeature

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

Source§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
Source§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

Source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

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 more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

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
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T> ToString for T
where T: Display + ?Sized,

Source§

fn to_string(&self) -> String

Converts the given value to a String. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.