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};417 $enum_name::$vname(v) => Ok(ToSqlOutput::from(v.to_primitive())),427 $enum_name::$vname => Ok(ToSqlOutput::from(Null)),432 fn to_sql(&self) -> SqlResult<ToSqlOutput> {
83 types::ToSqlOutput,301 fn to_sql(&self) -> rusqlite::Result<ToSqlOutput> { in to_sql() argument302 Ok(ToSqlOutput::Owned(Value::Integer(match self { in to_sql()340 fn to_sql(&self) -> rusqlite::Result<ToSqlOutput> { in to_sql() argument376 fn to_sql(&self) -> rusqlite::Result<ToSqlOutput> { in to_sql() argument378 Self::Password => Ok(ToSqlOutput::Owned(Value::Null)), in to_sql()434 fn to_sql(&self) -> rusqlite::Result<ToSqlOutput> { in to_sql() argument435 Ok(ToSqlOutput::Owned(Value::Integer(self.0))) in to_sql()496 fn to_sql(&self) -> rusqlite::Result<ToSqlOutput> { in to_sql() argument498 Self::Existing => Ok(ToSqlOutput::Owned(Value::Integer(0))), in to_sql()[all …]