1 2 3 4 5 6 7 8 9
use crate::sql::paths::ID; use crate::sql::thing::Thing; use crate::sql::value::Value; impl Value { pub(crate) fn def(&mut self, val: &Thing) { self.put(&*ID, val.clone().into()) } }