Lines Matching refs:ToSqlOutput
88 types::ToSqlOutput,
262 fn to_sql(&self) -> rusqlite::Result<ToSqlOutput> {
263 Ok(ToSqlOutput::Owned(Value::Integer(match self {
303 fn to_sql(&self) -> rusqlite::Result<ToSqlOutput> {
339 fn to_sql(&self) -> rusqlite::Result<ToSqlOutput> {
341 Self::Password => Ok(ToSqlOutput::Owned(Value::Null)),
402 fn to_sql(&self) -> rusqlite::Result<ToSqlOutput> {
403 Ok(ToSqlOutput::Owned(Value::Integer(self.0)))
464 fn to_sql(&self) -> rusqlite::Result<ToSqlOutput> {
466 Self::Existing => Ok(ToSqlOutput::Owned(Value::Integer(0))),
467 Self::Live => Ok(ToSqlOutput::Owned(Value::Integer(1))),
468 Self::Unreferenced => Ok(ToSqlOutput::Owned(Value::Integer(2))),
695 fn to_sql(&self) -> rusqlite::Result<ToSqlOutput> {
770 fn to_sql(&self) -> rusqlite::Result<ToSqlOutput> {
771 Ok(ToSqlOutput::Owned(Value::Integer(self.0)))