[−][src]Struct debil_mysql::MySQLValue
Trait Implementations
impl Clone for MySQLValue
[src]
fn clone(&self) -> MySQLValue
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl SQLConn<MySQLValue> for DebilConn
[src]
type Error = Error
fn sql_exec<'life0, 'async_trait>(
&'life0 mut self,
query: String,
params: Params<MySQLValue>
) -> Pin<Box<dyn Future<Output = Result<u64, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 mut self,
query: String,
params: Params<MySQLValue>
) -> Pin<Box<dyn Future<Output = Result<u64, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn sql_query<'life0, 'async_trait, T: SQLMapper<ValueType = MySQLValue> + Sync + Send>(
&'life0 mut self,
query: String,
params: Params<MySQLValue>
) -> Pin<Box<dyn Future<Output = Result<Vec<T>, Self::Error>> + Send + 'async_trait>> where
T: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 mut self,
query: String,
params: Params<MySQLValue>
) -> Pin<Box<dyn Future<Output = Result<Vec<T>, Self::Error>> + Send + 'async_trait>> where
T: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait,
fn sql_batch_exec<'life0, 'async_trait>(
&'life0 mut self,
query: String,
params_vec: Vec<Params<MySQLValue>>
) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 mut self,
query: String,
params_vec: Vec<Params<MySQLValue>>
) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn create_table<'life0, 'async_trait, T>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + 'async_trait + Send>> where
'life0: 'async_trait,
Self: Send + 'async_trait,
T: SQLTable<ValueType = V> + Send + Sync + 'async_trait,
[src]
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + 'async_trait + Send>> where
'life0: 'async_trait,
Self: Send + 'async_trait,
T: SQLTable<ValueType = V> + Send + Sync + 'async_trait,
fn save<'life0, 'async_trait, T>(
&'life0 mut self,
data: T
) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + 'async_trait + Send>> where
'life0: 'async_trait,
Self: Send + 'async_trait,
T: SQLTable<ValueType = V> + Send + Sync + 'async_trait,
[src]
&'life0 mut self,
data: T
) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + 'async_trait + Send>> where
'life0: 'async_trait,
Self: Send + 'async_trait,
T: SQLTable<ValueType = V> + Send + Sync + 'async_trait,
fn load_with2<'life0, 'async_trait, T, U>(
&'life0 mut self,
builder: QueryBuilder
) -> Pin<Box<dyn Future<Output = Result<Vec<U>, Self::Error>> + 'async_trait + Send>> where
'life0: 'async_trait,
Self: Send + 'async_trait,
T: SQLTable + 'async_trait,
U: SQLMapper<ValueType = V> + Send + Sync + 'async_trait,
[src]
&'life0 mut self,
builder: QueryBuilder
) -> Pin<Box<dyn Future<Output = Result<Vec<U>, Self::Error>> + 'async_trait + Send>> where
'life0: 'async_trait,
Self: Send + 'async_trait,
T: SQLTable + 'async_trait,
U: SQLMapper<ValueType = V> + Send + Sync + 'async_trait,
fn load_with<'life0, 'async_trait, T>(
&'life0 mut self,
builder: QueryBuilder
) -> Pin<Box<dyn Future<Output = Result<Vec<T>, Self::Error>> + 'async_trait + Send>> where
'life0: 'async_trait,
Self: Send + 'async_trait,
T: SQLTable<ValueType = V> + Send + Sync + 'async_trait,
[src]
&'life0 mut self,
builder: QueryBuilder
) -> Pin<Box<dyn Future<Output = Result<Vec<T>, Self::Error>> + 'async_trait + Send>> where
'life0: 'async_trait,
Self: Send + 'async_trait,
T: SQLTable<ValueType = V> + Send + Sync + 'async_trait,
fn first_with<'life0, 'async_trait, T>(
&'life0 mut self,
builder: QueryBuilder
) -> Pin<Box<dyn Future<Output = Result<T, Self::Error>> + 'async_trait + Send>> where
'life0: 'async_trait,
Self: Send + 'async_trait,
T: SQLTable<ValueType = V> + Send + Sync + 'async_trait,
[src]
&'life0 mut self,
builder: QueryBuilder
) -> Pin<Box<dyn Future<Output = Result<T, Self::Error>> + 'async_trait + Send>> where
'life0: 'async_trait,
Self: Send + 'async_trait,
T: SQLTable<ValueType = V> + Send + Sync + 'async_trait,
fn load<'life0, 'async_trait, T>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<Vec<T>, Self::Error>> + 'async_trait + Send>> where
'life0: 'async_trait,
Self: Send + 'async_trait,
T: SQLTable<ValueType = V> + Send + Sync + 'async_trait,
[src]
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<Vec<T>, Self::Error>> + 'async_trait + Send>> where
'life0: 'async_trait,
Self: Send + 'async_trait,
T: SQLTable<ValueType = V> + Send + Sync + 'async_trait,
fn first<'life0, 'async_trait, T>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<T, Self::Error>> + 'async_trait + Send>> where
'life0: 'async_trait,
Self: Send + 'async_trait,
T: SQLTable<ValueType = V> + Send + Sync + 'async_trait,
[src]
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<T, Self::Error>> + 'async_trait + Send>> where
'life0: 'async_trait,
Self: Send + 'async_trait,
T: SQLTable<ValueType = V> + Send + Sync + 'async_trait,
impl<V> SQLValue<Option<V>> for MySQLValue where
MySQLValue: SQLValue<V>,
[src]
MySQLValue: SQLValue<V>,
fn column_type(_: PhantomData<Option<V>>, size: i32) -> String
[src]
fn serialize(val: Option<V>) -> MySQLValue
[src]
fn deserialize(self) -> Option<V>
[src]
impl SQLValue<String> for MySQLValue
[src]
fn column_type(_: PhantomData<String>, size: i32) -> String
[src]
fn serialize(val: String) -> MySQLValue
[src]
fn deserialize(self) -> String
[src]
impl SQLValue<i32> for MySQLValue
[src]
fn column_type(_: PhantomData<i32>, _: i32) -> String
[src]
fn serialize(val: i32) -> MySQLValue
[src]
fn deserialize(self) -> i32
[src]
impl SQLValue<i64> for MySQLValue
[src]
fn column_type(_: PhantomData<i64>, _: i32) -> String
[src]
fn serialize(val: i64) -> MySQLValue
[src]
fn deserialize(self) -> i64
[src]
Auto Trait Implementations
impl RefUnwindSafe for MySQLValue
impl Send for MySQLValue
impl Sync for MySQLValue
impl Unpin for MySQLValue
impl UnwindSafe for MySQLValue
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,