pub struct ApplicationId(/* private fields */);
Expand description
§Application ID (4 Bytes)
The 4-byte big-endian integer at offset 68 is an “Application ID” that can be set by the PRAGMA application_id command in order to identify the database as belonging to or associated with a particular application. The application ID is intended for database files used as an application file-format. The application ID can be used by utilities such as file(1) to determine the specific file type rather than just reporting “Sqlite3 Database”. A list of assigned application IDs can be seen by consulting the magic.txt file in the Sqlite source repository.
Trait Implementations§
Source§impl Debug for ApplicationId
impl Debug for ApplicationId
Source§impl Default for ApplicationId
impl Default for ApplicationId
Source§fn default() -> ApplicationId
fn default() -> ApplicationId
Returns the “default value” for a type. Read more
Source§impl Deref for ApplicationId
impl Deref for ApplicationId
Auto Trait Implementations§
impl Freeze for ApplicationId
impl RefUnwindSafe for ApplicationId
impl Send for ApplicationId
impl Sync for ApplicationId
impl Unpin for ApplicationId
impl UnwindSafe for ApplicationId
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