9 lines
195 B
Rust
9 lines
195 B
Rust
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.as_ref(), val.clone().into())
|
|
}
|
|
}
|