pub struct QueryCommitHit {
pub hash: String,
pub author_name: String,
pub authored_at_s: i64,
pub subject: String,
pub changed_file_count: i64,
pub evidence: Vec<String>,
pub score: f64,
pub evidence_kind: &'static str,
}Fields§
§hash: String§subject: String§changed_file_count: i64§evidence: Vec<String>§score: f64§evidence_kind: &'static strTrait Implementations§
Source§impl Clone for QueryCommitHit
impl Clone for QueryCommitHit
Source§fn clone(&self) -> QueryCommitHit
fn clone(&self) -> QueryCommitHit
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for QueryCommitHit
impl Debug for QueryCommitHit
Auto Trait Implementations§
impl Freeze for QueryCommitHit
impl RefUnwindSafe for QueryCommitHit
impl Send for QueryCommitHit
impl Sync for QueryCommitHit
impl Unpin for QueryCommitHit
impl UnsafeUnpin for QueryCommitHit
impl UnwindSafe for QueryCommitHit
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more