pub struct ChangeSummary {
pub path: String,
pub code: String,
pub staged: bool,
pub unstaged: bool,
}Fields§
§path: String§code: String§staged: bool§unstaged: boolTrait Implementations§
Source§impl Clone for ChangeSummary
impl Clone for ChangeSummary
Source§fn clone(&self) -> ChangeSummary
fn clone(&self) -> ChangeSummary
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 ChangeSummary
impl Debug for ChangeSummary
Source§impl Serialize for ChangeSummary
impl Serialize for ChangeSummary
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for ChangeSummary
impl RefUnwindSafe for ChangeSummary
impl Send for ChangeSummary
impl Sync for ChangeSummary
impl Unpin for ChangeSummary
impl UnsafeUnpin for ChangeSummary
impl UnwindSafe for ChangeSummary
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