Struct trust_dns_server::store::sqlite::SqliteConfig
source · pub struct SqliteConfig {
pub zone_file_path: String,
pub journal_file_path: String,
pub allow_update: bool,
}
Available on crate feature
sqlite
only.Expand description
Configuration for zone file for sqlite based zones
Fields§
§zone_file_path: String
path to initial zone file
journal_file_path: String
path to the sqlite journal file
allow_update: bool
Are updates allowed to this zone
Trait Implementations§
source§impl Debug for SqliteConfig
impl Debug for SqliteConfig
source§impl<'de> Deserialize<'de> for SqliteConfig
impl<'de> Deserialize<'de> for SqliteConfig
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for SqliteConfig
impl PartialEq for SqliteConfig
source§fn eq(&self, other: &SqliteConfig) -> bool
fn eq(&self, other: &SqliteConfig) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for SqliteConfig
impl StructuralEq for SqliteConfig
impl StructuralPartialEq for SqliteConfig
Auto Trait Implementations§
impl RefUnwindSafe for SqliteConfig
impl Send for SqliteConfig
impl Sync for SqliteConfig
impl Unpin for SqliteConfig
impl UnwindSafe for SqliteConfig
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.