pub struct Relation {Show 14 fields
pub id: i64,
pub kind: Kind,
pub subject: String,
pub object: String,
pub path: String,
pub blob: String,
pub line: i64,
pub quote: String,
pub context: String,
pub status: String,
pub checked_by: Option<String>,
pub rung: Option<String>,
pub model: Option<String>,
pub confidence: Option<f64>,
}Expand description
A relation of one file at one revision, as the store keeps it.
Fields§
§id: i64§kind: Kind§subject: Stringpath::definition, or the path for the file itself.
object: String§path: String§blob: String§line: i64§quote: String§context: String§status: Stringaccepted, rejected, review (the judge was not sure) or proposed (not judged yet).
checked_by: Option<String>code (the proposer or pruning settled it) or the judge backend that answered.
rung: Option<String>§model: Option<String>§confidence: Option<f64>Implementations§
Trait Implementations§
impl StructuralPartialEq for Relation
Auto Trait Implementations§
impl Forget for Relation
impl Freeze for Relation
impl Move for Relation
impl RefUnwindSafe for Relation
impl Send for Relation
impl Sync for Relation
impl Unpin for Relation
impl UnsafeUnpin for Relation
impl UnwindSafe for Relation
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