pub struct LinkInput<'a> {
pub now: u64,
pub src: &'a str,
pub rel: &'a str,
pub dst: &'a str,
pub provenance: Option<FactId>,
}Expand description
Input of link.
Fields§
§now: u64Host timestamp, unix milliseconds.
src: &'a strSource entity name (created lazily).
rel: &'a strRelation term, verbatim ("works_at", …).
dst: &'a strDestination entity name (created lazily).
provenance: Option<FactId>Optional provenance fact.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for LinkInput<'a>
impl<'a> RefUnwindSafe for LinkInput<'a>
impl<'a> Send for LinkInput<'a>
impl<'a> Sync for LinkInput<'a>
impl<'a> Unpin for LinkInput<'a>
impl<'a> UnsafeUnpin for LinkInput<'a>
impl<'a> UnwindSafe for LinkInput<'a>
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