1 2 3 4 5 6 7 8 9 10 11
use crate::err::Error; use crate::sql::thing::Thing; use crate::sql::value::Value; pub fn id((arg,): (Thing,)) -> Result<Value, Error> { Ok(arg.id.into()) } pub fn tb((arg,): (Thing,)) -> Result<Value, Error> { Ok(arg.tb.into()) }