Struct psl::datamodel_connector::NativeTypeConstructor
source · pub struct NativeTypeConstructor {
pub name: &'static str,
pub number_of_args: usize,
pub number_of_optional_args: usize,
pub prisma_types: &'static [ScalarType],
}Expand description
Represents an available native type.
Fields§
§name: &'static strThe name that is used in the Prisma schema when declaring the native type
number_of_args: usizeThe number of arguments that must be provided
number_of_optional_args: usizeThe number of optional arguments
prisma_types: &'static [ScalarType]The scalar types this native type is compatible with
Auto Trait Implementations§
impl RefUnwindSafe for NativeTypeConstructor
impl Send for NativeTypeConstructor
impl Sync for NativeTypeConstructor
impl Unpin for NativeTypeConstructor
impl UnwindSafe for NativeTypeConstructor
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