#[non_exhaustive]pub struct ReplaceContentEntryBuilder { /* private fields */ }Expand description
A builder for ReplaceContentEntry.
Implementations§
source§impl ReplaceContentEntryBuilder
impl ReplaceContentEntryBuilder
sourcepub fn set_file_path(self, input: Option<String>) -> Self
pub fn set_file_path(self, input: Option<String>) -> Self
The path of the conflicting file.
sourcepub fn get_file_path(&self) -> &Option<String>
pub fn get_file_path(&self) -> &Option<String>
The path of the conflicting file.
sourcepub fn replacement_type(self, input: ReplacementTypeEnum) -> Self
pub fn replacement_type(self, input: ReplacementTypeEnum) -> Self
The replacement type to use when determining how to resolve the conflict.
sourcepub fn set_replacement_type(self, input: Option<ReplacementTypeEnum>) -> Self
pub fn set_replacement_type(self, input: Option<ReplacementTypeEnum>) -> Self
The replacement type to use when determining how to resolve the conflict.
sourcepub fn get_replacement_type(&self) -> &Option<ReplacementTypeEnum>
pub fn get_replacement_type(&self) -> &Option<ReplacementTypeEnum>
The replacement type to use when determining how to resolve the conflict.
sourcepub fn content(self, input: Blob) -> Self
pub fn content(self, input: Blob) -> Self
The base-64 encoded content to use when the replacement type is USE_NEW_CONTENT.
sourcepub fn set_content(self, input: Option<Blob>) -> Self
pub fn set_content(self, input: Option<Blob>) -> Self
The base-64 encoded content to use when the replacement type is USE_NEW_CONTENT.
sourcepub fn get_content(&self) -> &Option<Blob>
pub fn get_content(&self) -> &Option<Blob>
The base-64 encoded content to use when the replacement type is USE_NEW_CONTENT.
sourcepub fn file_mode(self, input: FileModeTypeEnum) -> Self
pub fn file_mode(self, input: FileModeTypeEnum) -> Self
The file mode to apply during conflict resoltion.
sourcepub fn set_file_mode(self, input: Option<FileModeTypeEnum>) -> Self
pub fn set_file_mode(self, input: Option<FileModeTypeEnum>) -> Self
The file mode to apply during conflict resoltion.
sourcepub fn get_file_mode(&self) -> &Option<FileModeTypeEnum>
pub fn get_file_mode(&self) -> &Option<FileModeTypeEnum>
The file mode to apply during conflict resoltion.
sourcepub fn build(self) -> ReplaceContentEntry
pub fn build(self) -> ReplaceContentEntry
Consumes the builder and constructs a ReplaceContentEntry.
Trait Implementations§
source§impl Clone for ReplaceContentEntryBuilder
impl Clone for ReplaceContentEntryBuilder
source§fn clone(&self) -> ReplaceContentEntryBuilder
fn clone(&self) -> ReplaceContentEntryBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ReplaceContentEntryBuilder
impl Debug for ReplaceContentEntryBuilder
source§impl Default for ReplaceContentEntryBuilder
impl Default for ReplaceContentEntryBuilder
source§fn default() -> ReplaceContentEntryBuilder
fn default() -> ReplaceContentEntryBuilder
source§impl PartialEq<ReplaceContentEntryBuilder> for ReplaceContentEntryBuilder
impl PartialEq<ReplaceContentEntryBuilder> for ReplaceContentEntryBuilder
source§fn eq(&self, other: &ReplaceContentEntryBuilder) -> bool
fn eq(&self, other: &ReplaceContentEntryBuilder) -> bool
self and other values to be equal, and is used
by ==.