Searched refs:ToSqlOutput (Results 1 – 3 of 3) sorted by relevance
205 fn to_sql(&self) -> rusqlite::Result<rusqlite::types::ToSqlOutput> {
108 use rusqlite::types::{Null, ToSql, ToSqlOutput};393 $enum_name::$vname(v) => Ok(ToSqlOutput::from(v.to_primitive())),403 $enum_name::$vname => Ok(ToSqlOutput::from(Null)),408 fn to_sql(&self) -> SqlResult<ToSqlOutput> {
88 types::ToSqlOutput,262 fn to_sql(&self) -> rusqlite::Result<ToSqlOutput> { in to_sql() argument263 Ok(ToSqlOutput::Owned(Value::Integer(match self { in to_sql()303 fn to_sql(&self) -> rusqlite::Result<ToSqlOutput> { in to_sql() argument339 fn to_sql(&self) -> rusqlite::Result<ToSqlOutput> { in to_sql() argument341 Self::Password => Ok(ToSqlOutput::Owned(Value::Null)), in to_sql()402 fn to_sql(&self) -> rusqlite::Result<ToSqlOutput> { in to_sql() argument403 Ok(ToSqlOutput::Owned(Value::Integer(self.0))) in to_sql()464 fn to_sql(&self) -> rusqlite::Result<ToSqlOutput> { in to_sql() argument466 Self::Existing => Ok(ToSqlOutput::Owned(Value::Integer(0))), in to_sql()[all …]