pub struct CommitResult {
pub commit_id: String,
pub message: String,
pub metadata: HashMap<String, String>,
}Expand description
Result from the commit method.
Fields§
§commit_id: StringCommit identifier (hash, changelist number, etc.).
message: StringHuman-readable message.
metadata: HashMap<String, String>Adapter-specific metadata.
Trait Implementations§
Source§impl Debug for CommitResult
impl Debug for CommitResult
Source§impl<'de> Deserialize<'de> for CommitResult
impl<'de> Deserialize<'de> for CommitResult
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 CommitResult
impl RefUnwindSafe for CommitResult
impl Send for CommitResult
impl Sync for CommitResult
impl Unpin for CommitResult
impl UnsafeUnpin for CommitResult
impl UnwindSafe for CommitResult
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