pub struct FileHistoryEntryBuilder { /* private fields */ }
Expand description
Builder for FileHistoryEntry
.
Implementations§
Source§impl FileHistoryEntryBuilder
impl FileHistoryEntryBuilder
pub fn id<VALUE: Into<String>>(self, value: VALUE) -> Self
pub fn committer<VALUE: Into<User>>(self, value: VALUE) -> Self
pub fn commit_time<VALUE: Into<u64>>(self, value: VALUE) -> Self
pub fn change<VALUE: Into<CommitChange>>(self, value: VALUE) -> Self
pub fn lines_added<VALUE: Into<u64>>(self, value: VALUE) -> Self
pub fn lines_deleted<VALUE: Into<u64>>(self, value: VALUE) -> Self
Trait Implementations§
Source§impl Default for FileHistoryEntryBuilder
impl Default for FileHistoryEntryBuilder
Source§fn default() -> FileHistoryEntryBuilder
fn default() -> FileHistoryEntryBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for FileHistoryEntryBuilder
impl RefUnwindSafe for FileHistoryEntryBuilder
impl Send for FileHistoryEntryBuilder
impl Sync for FileHistoryEntryBuilder
impl Unpin for FileHistoryEntryBuilder
impl UnwindSafe for FileHistoryEntryBuilder
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