Struct scm_record::Commit
source · pub struct Commit {
pub message: Option<String>,
}Expand description
A container of selected changes and commit metadata.
Fields§
§message: Option<String>The commit message. If Some, then the commit message will be previewed
in the UI and the user will be able to edit it. If None, the commit
message will not be shown or editable.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Commit
impl<'de> Deserialize<'de> for Commit
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
source§impl PartialEq for Commit
impl PartialEq for Commit
impl Eq for Commit
impl StructuralEq for Commit
impl StructuralPartialEq for Commit
Auto Trait Implementations§
impl RefUnwindSafe for Commit
impl Send for Commit
impl Sync for Commit
impl Unpin for Commit
impl UnwindSafe for Commit
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