pub struct CommitsCache {
pub version: u32,
pub tip: String,
pub since: Option<String>,
pub until: Option<String>,
pub no_merges: bool,
pub commits: Vec<CachedCommit>,
}Expand description
One repository’s cached git log, valid only while tip and the filters
still match the live repository.
Fields§
§version: u32§tip: String§since: Option<String>§until: Option<String>§no_merges: bool§commits: Vec<CachedCommit>Trait Implementations§
Source§impl<'de> Deserialize<'de> for CommitsCache
impl<'de> Deserialize<'de> for CommitsCache
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for CommitsCache
impl RefUnwindSafe for CommitsCache
impl Send for CommitsCache
impl Sync for CommitsCache
impl Unpin for CommitsCache
impl UnsafeUnpin for CommitsCache
impl UnwindSafe for CommitsCache
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