pub struct ThingRef {
pub table: String,
pub id: Value,
}Expand description
A reference to a record/node in a specific table.
This is used to identify the endpoints of a relation.
Fields§
§table: StringThe table/collection name
id: ValueThe record ID
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ThingRef
impl<'de> Deserialize<'de> for ThingRef
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ThingRef
impl RefUnwindSafe for ThingRef
impl Send for ThingRef
impl Sync for ThingRef
impl Unpin for ThingRef
impl UnsafeUnpin for ThingRef
impl UnwindSafe for ThingRef
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more