Struct rincon_session::client::Database
[−]
[src]
pub struct Database { /* fields omitted */ }
This struct holds the properties of a database.
Methods
impl Database
[src]
pub fn id(&self) -> &str
[src]
Returns the id of the database.
pub fn name(&self) -> &str
[src]
Returns the name of the database.
pub fn path(&self) -> &str
[src]
Returns the filesystem path of the database.
pub fn is_system(&self) -> bool
[src]
Returns whether or not the database is the _system
database.
Returns true
if the database is the _system
database,
false
otherwise.
Trait Implementations
impl<'de> Deserialize<'de> for Database
[src]
fn deserialize<__D>(
__deserializer: __D
) -> Result<Database, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
[src]
__deserializer: __D
) -> Result<Database, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Clone for Database
[src]
fn clone(&self) -> Database
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more