pub struct CommitContent {
pub files: LayerState<Vec<FileContent>>,
pub truncated: bool,
}Expand description
One commit’s own diff as bounded content.
Fields§
§files: LayerState<Vec<FileContent>>§truncated: boolSomething was withheld for the budget, the same flag the record’s two-layer read carries.
Trait Implementations§
Source§impl Clone for CommitContent
impl Clone for CommitContent
Source§impl Debug for CommitContent
impl Debug for CommitContent
impl Eq for CommitContent
Source§impl PartialEq for CommitContent
impl PartialEq for CommitContent
impl StructuralPartialEq for CommitContent
Auto Trait Implementations§
impl Freeze for CommitContent
impl RefUnwindSafe for CommitContent
impl Send for CommitContent
impl Sync for CommitContent
impl Unpin for CommitContent
impl UnsafeUnpin for CommitContent
impl UnwindSafe for CommitContent
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.