pub struct Ref<T: Table + Debug> {
pub fk: Key,
/* private fields */
}
Fields§
§fk: Key
the foreign key referencing the entry in the table T
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for Ref<T>
impl<T> RefUnwindSafe for Ref<T>where
T: RefUnwindSafe,
impl<T> Send for Ref<T>
impl<T> Sync for Ref<T>
impl<T> Unpin for Ref<T>where
T: Unpin,
impl<T> UnwindSafe for Ref<T>where
T: UnwindSafe,
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