pub struct Prompt<R, W> {
pub reader: R,
pub writer: W,
}
Fields§
§reader: R
§writer: W
Implementations§
Auto Trait Implementations§
impl<R, W> Freeze for Prompt<R, W>
impl<R, W> RefUnwindSafe for Prompt<R, W>where
R: RefUnwindSafe,
W: RefUnwindSafe,
impl<R, W> Send for Prompt<R, W>
impl<R, W> Sync for Prompt<R, W>
impl<R, W> Unpin for Prompt<R, W>
impl<R, W> UnwindSafe for Prompt<R, W>where
R: UnwindSafe,
W: UnwindSafe,
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