pub struct Proposed {
pub kind: Kind,
pub subject: String,
pub object: String,
pub line: i64,
pub quote: String,
pub context: String,
pub certain: bool,
}Expand description
A relation the proposer read from one blob. It depends on the blob’s text only: the file’s path is joined in
when it is read back (Relation).
Fields§
§kind: Kind§subject: StringThe definition it is made from (a function, method or class name); empty for the file itself.
object: StringWhat it relates to: the key, METHOD /route, the table, or (for a test) the module as imported.
line: i64§quote: StringThe line, trimmed.
context: StringThe lines around it, for the judge.
certain: boolSettled by plain code: nothing else could mean this.
Trait Implementations§
impl Eq for Proposed
impl StructuralPartialEq for Proposed
Auto Trait Implementations§
impl Forget for Proposed
impl Freeze for Proposed
impl Move for Proposed
impl RefUnwindSafe for Proposed
impl Send for Proposed
impl Sync for Proposed
impl Unpin for Proposed
impl UnsafeUnpin for Proposed
impl UnwindSafe for Proposed
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.