Struct aws_sdk_codecommit::types::Difference  
source · #[non_exhaustive]pub struct Difference {
    pub before_blob: Option<BlobMetadata>,
    pub after_blob: Option<BlobMetadata>,
    pub change_type: Option<ChangeTypeEnum>,
}Expand description
Returns information about a set of differences for a commit specifier.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.before_blob: Option<BlobMetadata>Information about a beforeBlob data type object, including the ID, the file mode permission code, and the path.
after_blob: Option<BlobMetadata>Information about an afterBlob data type object, including the ID, the file mode permission code, and the path.
change_type: Option<ChangeTypeEnum>Whether the change type of the difference is an addition (A), deletion (D), or modification (M).
Implementations§
source§impl Difference
 
impl Difference
sourcepub fn before_blob(&self) -> Option<&BlobMetadata>
 
pub fn 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) -> Option<&BlobMetadata>
 
pub fn 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) -> Option<&ChangeTypeEnum>
 
pub fn change_type(&self) -> Option<&ChangeTypeEnum>
Whether the change type of the difference is an addition (A), deletion (D), or modification (M).
source§impl Difference
 
impl Difference
sourcepub fn builder() -> DifferenceBuilder
 
pub fn builder() -> DifferenceBuilder
Creates a new builder-style object to manufacture Difference.
Trait Implementations§
source§impl Clone for Difference
 
impl Clone for Difference
source§fn clone(&self) -> Difference
 
fn clone(&self) -> Difference
1.0.0 · source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for Difference
 
impl Debug for Difference
source§impl PartialEq for Difference
 
impl PartialEq for Difference
source§fn eq(&self, other: &Difference) -> bool
 
fn eq(&self, other: &Difference) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for Difference
Auto Trait Implementations§
impl Freeze for Difference
impl RefUnwindSafe for Difference
impl Send for Difference
impl Sync for Difference
impl Unpin for Difference
impl UnwindSafe for Difference
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