pub enum PragmaName {
AutoVacuum,
CacheSize,
ForeignKeyList,
IntegrityCheck,
JournalMode,
LegacyFileFormat,
PageCount,
PageSize,
SchemaVersion,
TableInfo,
UserVersion,
WalCheckpoint,
}Expand description
PRAGMA value
Variants§
AutoVacuum
set the autovacuum mode
CacheSize
cache_size pragma
ForeignKeyList
returns foreign key constraint information for a table
IntegrityCheck
Run integrity check on the database file
JournalMode
journal_mode pragma
LegacyFileFormat
Noop as per SQLite docs
PageCount
Return the total number of pages in the database file.
PageSize
Return the page size of the database in bytes.
SchemaVersion
Returns schema version of the database file.
TableInfo
returns information about the columns of a table
UserVersion
Returns the user version of the database file.
WalCheckpoint
trigger a checkpoint to run on database(s) if WAL is enabled
Trait Implementations§
Source§impl Clone for PragmaName
impl Clone for PragmaName
Source§fn clone(&self) -> PragmaName
fn clone(&self) -> PragmaName
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 moreSource§impl Debug for PragmaName
impl Debug for PragmaName
Source§impl Display for PragmaName
impl Display for PragmaName
impl Eq for PragmaName
Source§impl FromStr for PragmaName
impl FromStr for PragmaName
Source§impl IntoEnumIterator for PragmaName
impl IntoEnumIterator for PragmaName
type Iterator = PragmaNameIter
fn iter() -> PragmaNameIter ⓘ
Source§impl PartialEq for PragmaName
impl PartialEq for PragmaName
Source§fn eq(&self, other: &PragmaName) -> bool
fn eq(&self, other: &PragmaName) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PragmaName
Auto Trait Implementations§
impl Freeze for PragmaName
impl RefUnwindSafe for PragmaName
impl Send for PragmaName
impl Sync for PragmaName
impl Unpin for PragmaName
impl UnsafeUnpin for PragmaName
impl UnwindSafe for PragmaName
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.