pub struct SyncUpstreamResult {
pub updated: bool,
pub conflicts: Vec<String>,
pub new_commits: u32,
pub message: String,
pub metadata: HashMap<String, String>,
}Expand description
Result from the sync_upstream method.
Fields§
§updated: boolWhether upstream had new changes.
conflicts: Vec<String>Files with merge conflicts.
new_commits: u32Number of new upstream commits.
message: StringHuman-readable summary.
metadata: HashMap<String, String>Adapter-specific metadata.
Trait Implementations§
Source§impl Debug for SyncUpstreamResult
impl Debug for SyncUpstreamResult
Source§impl<'de> Deserialize<'de> for SyncUpstreamResult
impl<'de> Deserialize<'de> for SyncUpstreamResult
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 SyncUpstreamResult
impl RefUnwindSafe for SyncUpstreamResult
impl Send for SyncUpstreamResult
impl Sync for SyncUpstreamResult
impl Unpin for SyncUpstreamResult
impl UnsafeUnpin for SyncUpstreamResult
impl UnwindSafe for SyncUpstreamResult
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