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<Difference> for Difference
impl PartialEq<Difference> 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 ==.