Struct asyncgit::BlameParams
source · pub struct BlameParams {
pub file_path: String,
pub commit_id: Option<CommitId>,
}
Expand description
Fields§
§file_path: String
path to the file to blame
commit_id: Option<CommitId>
blame at a specific revision
Trait Implementations§
source§impl Clone for BlameParams
impl Clone for BlameParams
source§fn clone(&self) -> BlameParams
fn clone(&self) -> BlameParams
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Hash for BlameParams
impl Hash for BlameParams
source§impl PartialEq<BlameParams> for BlameParams
impl PartialEq<BlameParams> for BlameParams
source§fn eq(&self, other: &BlameParams) -> bool
fn eq(&self, other: &BlameParams) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for BlameParams
impl StructuralEq for BlameParams
impl StructuralPartialEq for BlameParams
Auto Trait Implementations§
impl RefUnwindSafe for BlameParams
impl Send for BlameParams
impl Sync for BlameParams
impl Unpin for BlameParams
impl UnwindSafe for BlameParams
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<S, T> CastApprox<T> for Swhere
T: ConvApprox<S>,
impl<S, T> CastApprox<T> for Swhere T: ConvApprox<S>,
source§fn try_cast_approx(self) -> Result<T, Error>
fn try_cast_approx(self) -> Result<T, Error>
source§fn cast_approx(self) -> T
fn cast_approx(self) -> T
source§impl<S, T> CastFloat<T> for Swhere
T: ConvFloat<S>,
impl<S, T> CastFloat<T> for Swhere T: ConvFloat<S>,
source§fn cast_trunc(self) -> T
fn cast_trunc(self) -> T
Cast to integer, truncating Read more
source§fn cast_nearest(self) -> T
fn cast_nearest(self) -> T
Cast to the nearest integer Read more
source§fn cast_floor(self) -> T
fn cast_floor(self) -> T
Cast the floor to an integer Read more