pub struct Application<'a> {
pub config: Config,
pub config_path: PathBuf,
pub prompt: Prompt<StdinLock<'a>, Stdout>,
pub conn: SqliteConnection,
}
Fields§
§config: Config
Config
config_path: PathBuf
Path to config
prompt: Prompt<StdinLock<'a>, Stdout>
Global prompt
conn: SqliteConnection
Global conn
Auto Trait Implementations§
impl<'a> !Freeze for Application<'a>
impl<'a> !RefUnwindSafe for Application<'a>
impl<'a> !Send for Application<'a>
impl<'a> !Sync for Application<'a>
impl<'a> Unpin for Application<'a>
impl<'a> UnwindSafe for Application<'a>
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> IntoSql for T
impl<T> IntoSql for T
Source§fn into_sql<T>(self) -> Self::Expressionwhere
Self: Sized + AsExpression<T>,
fn into_sql<T>(self) -> Self::Expressionwhere
Self: Sized + AsExpression<T>,
Convert
self
to an expression for Diesel’s query builder. Read moreSource§fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expressionwhere
&'a Self: AsExpression<T>,
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expressionwhere
&'a Self: AsExpression<T>,
Convert
&self
to an expression for Diesel’s query builder. Read more