pub struct SchemaCapability(/* private fields */);Expand description
Feature required by one proposal.
Implementations§
Source§impl SchemaCapability
impl SchemaCapability
Sourcepub const EXACT_COMPOSITE_TYPES: SchemaCapability
pub const EXACT_COMPOSITE_TYPES: SchemaCapability
Exact composite record and enum contracts.
Sourcepub const ACCEPTED_CHECKS: SchemaCapability
pub const ACCEPTED_CHECKS: SchemaCapability
Accepted row-local constraints.
Sourcepub const SECONDARY_INDEXES: SchemaCapability
pub const SECONDARY_INDEXES: SchemaCapability
Secondary indexes.
Sourcepub const RESTRICTIVE_RELATIONS: SchemaCapability
pub const RESTRICTIVE_RELATIONS: SchemaCapability
Restrictive relations.
Sourcepub const INSERT_DEFAULTS: SchemaCapability
pub const INSERT_DEFAULTS: SchemaCapability
Accepted database defaults.
Sourcepub const GENERATED_VALUES: SchemaCapability
pub const GENERATED_VALUES: SchemaCapability
Generated values.
Sourcepub const MANAGED_TIMESTAMPS: SchemaCapability
pub const MANAGED_TIMESTAMPS: SchemaCapability
Managed created/updated timestamps.
Sourcepub const VERSIONED_MIGRATIONS: SchemaCapability
pub const VERSIONED_MIGRATIONS: SchemaCapability
Explicit versioned source migration declarations.
Sourcepub const fn from_raw(value: u16) -> SchemaCapability
pub const fn from_raw(value: u16) -> SchemaCapability
Construct a raw token for incompatibility testing and transport.
Trait Implementations§
Source§impl Clone for SchemaCapability
impl Clone for SchemaCapability
Source§fn clone(&self) -> SchemaCapability
fn clone(&self) -> SchemaCapability
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SchemaCapability
Source§impl Debug for SchemaCapability
impl Debug for SchemaCapability
impl Eq for SchemaCapability
Source§impl Hash for SchemaCapability
impl Hash for SchemaCapability
Source§impl Ord for SchemaCapability
impl Ord for SchemaCapability
Source§fn cmp(&self, other: &SchemaCapability) -> Ordering
fn cmp(&self, other: &SchemaCapability) -> Ordering
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
Source§impl PartialEq for SchemaCapability
impl PartialEq for SchemaCapability
Source§impl PartialOrd for SchemaCapability
impl PartialOrd for SchemaCapability
impl StructuralPartialEq for SchemaCapability
Auto Trait Implementations§
impl Freeze for SchemaCapability
impl RefUnwindSafe for SchemaCapability
impl Send for SchemaCapability
impl Sync for SchemaCapability
impl Unpin for SchemaCapability
impl UnsafeUnpin for SchemaCapability
impl UnwindSafe for SchemaCapability
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> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
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.