pub struct Fact<'a> {
pub subject: &'a str,
pub predicate: &'a str,
pub object: &'a str,
}Expand description
User-facing fact used when inserting new data.
Fields§
§subject: &'a str§predicate: &'a str§object: &'a strImplementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Fact<'a>
impl<'a> RefUnwindSafe for Fact<'a>
impl<'a> Send for Fact<'a>
impl<'a> Sync for Fact<'a>
impl<'a> Unpin for Fact<'a>
impl<'a> UnsafeUnpin for Fact<'a>
impl<'a> UnwindSafe for Fact<'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