Struct aws_sdk_codecommit::types::builders::DifferenceBuilder
source · #[non_exhaustive]pub struct DifferenceBuilder { /* private fields */ }Expand description
A builder for Difference.
Implementations§
source§impl DifferenceBuilder
impl DifferenceBuilder
sourcepub fn before_blob(self, input: BlobMetadata) -> Self
pub fn before_blob(self, input: BlobMetadata) -> Self
Information about a beforeBlob data type object, including the ID, the file mode permission code, and the path.
sourcepub fn set_before_blob(self, input: Option<BlobMetadata>) -> Self
pub fn set_before_blob(self, input: Option<BlobMetadata>) -> Self
Information about a beforeBlob data type object, including the ID, the file mode permission code, and the path.
sourcepub fn get_before_blob(&self) -> &Option<BlobMetadata>
pub fn get_before_blob(&self) -> &Option<BlobMetadata>
Information about a beforeBlob data type object, including the ID, the file mode permission code, and the path.
sourcepub fn after_blob(self, input: BlobMetadata) -> Self
pub fn after_blob(self, input: BlobMetadata) -> Self
Information about an afterBlob data type object, including the ID, the file mode permission code, and the path.
sourcepub fn set_after_blob(self, input: Option<BlobMetadata>) -> Self
pub fn set_after_blob(self, input: Option<BlobMetadata>) -> Self
Information about an afterBlob data type object, including the ID, the file mode permission code, and the path.
sourcepub fn get_after_blob(&self) -> &Option<BlobMetadata>
pub fn get_after_blob(&self) -> &Option<BlobMetadata>
Information about an afterBlob data type object, including the ID, the file mode permission code, and the path.
sourcepub fn change_type(self, input: ChangeTypeEnum) -> Self
pub fn change_type(self, input: ChangeTypeEnum) -> Self
Whether the change type of the difference is an addition (A), deletion (D), or modification (M).
sourcepub fn set_change_type(self, input: Option<ChangeTypeEnum>) -> Self
pub fn set_change_type(self, input: Option<ChangeTypeEnum>) -> Self
Whether the change type of the difference is an addition (A), deletion (D), or modification (M).
sourcepub fn get_change_type(&self) -> &Option<ChangeTypeEnum>
pub fn get_change_type(&self) -> &Option<ChangeTypeEnum>
Whether the change type of the difference is an addition (A), deletion (D), or modification (M).
sourcepub fn build(self) -> Difference
pub fn build(self) -> Difference
Consumes the builder and constructs a Difference.
Trait Implementations§
source§impl Clone for DifferenceBuilder
impl Clone for DifferenceBuilder
source§fn clone(&self) -> DifferenceBuilder
fn clone(&self) -> DifferenceBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for DifferenceBuilder
impl Debug for DifferenceBuilder
source§impl Default for DifferenceBuilder
impl Default for DifferenceBuilder
source§fn default() -> DifferenceBuilder
fn default() -> DifferenceBuilder
source§impl PartialEq for DifferenceBuilder
impl PartialEq for DifferenceBuilder
source§fn eq(&self, other: &DifferenceBuilder) -> bool
fn eq(&self, other: &DifferenceBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for DifferenceBuilder
Auto Trait Implementations§
impl Freeze for DifferenceBuilder
impl RefUnwindSafe for DifferenceBuilder
impl Send for DifferenceBuilder
impl Sync for DifferenceBuilder
impl Unpin for DifferenceBuilder
impl UnwindSafe for DifferenceBuilder
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more