pub struct ReplaceContentEntry {
pub content: Option<Bytes>,
pub file_mode: Option<String>,
pub file_path: String,
pub replacement_type: String,
}Expand description
Information about a replacement content entry in the conflict of a merge or pull request operation.
Fields§
§content: Option<Bytes>The base-64 encoded content to use when the replacement type is USE_NEW_CONTENT.
file_mode: Option<String>The file mode to apply during conflict resoltion.
file_path: StringThe path of the conflicting file.
replacement_type: StringThe replacement type to use when determining how to resolve the conflict.
Trait Implementations§
Source§impl Clone for ReplaceContentEntry
impl Clone for ReplaceContentEntry
Source§fn clone(&self) -> ReplaceContentEntry
fn clone(&self) -> ReplaceContentEntry
Returns a duplicate of the value. Read more
1.0.0 · 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 ReplaceContentEntry
impl Debug for ReplaceContentEntry
Source§impl Default for ReplaceContentEntry
impl Default for ReplaceContentEntry
Source§fn default() -> ReplaceContentEntry
fn default() -> ReplaceContentEntry
Returns the “default value” for a type. Read more
Source§impl PartialEq for ReplaceContentEntry
impl PartialEq for ReplaceContentEntry
Source§impl Serialize for ReplaceContentEntry
impl Serialize for ReplaceContentEntry
impl StructuralPartialEq for ReplaceContentEntry
Auto Trait Implementations§
impl !Freeze for ReplaceContentEntry
impl RefUnwindSafe for ReplaceContentEntry
impl Send for ReplaceContentEntry
impl Sync for ReplaceContentEntry
impl Unpin for ReplaceContentEntry
impl UnwindSafe for ReplaceContentEntry
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