pub struct PullResponse {
pub remote: String,
pub branch: String,
pub objects_fetched: usize,
pub fast_forward: bool,
pub has_conflicts: bool,
pub merge_message: String,
pub message: String,
}Fields§
§remote: String§branch: String§objects_fetched: usize§fast_forward: bool§has_conflicts: bool§merge_message: String§message: StringTrait Implementations§
Source§impl CommandResponse for PullResponse
impl CommandResponse for PullResponse
Source§fn command_name(&self) -> &'static str
fn command_name(&self) -> &'static str
The command name for the response envelope
Source§fn human_readable(&self) -> String
fn human_readable(&self) -> String
Render as human-readable text
Source§fn to_json_output(&self) -> String
fn to_json_output(&self) -> String
Render as JSON (default implementation via serde). Read more
Source§fn to_json_output_pretty(&self) -> String
fn to_json_output_pretty(&self) -> String
Render as indented, human-readable JSON (opt-in via
--pretty).Source§impl Debug for PullResponse
impl Debug for PullResponse
Source§impl<'de> Deserialize<'de> for PullResponse
impl<'de> Deserialize<'de> for PullResponse
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 PullResponse
impl RefUnwindSafe for PullResponse
impl Send for PullResponse
impl Sync for PullResponse
impl Unpin for PullResponse
impl UnsafeUnpin for PullResponse
impl UnwindSafe for PullResponse
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