Struct aws_sdk_codecommit::types::BlobMetadata
source · #[non_exhaustive]pub struct BlobMetadata {
pub blob_id: Option<String>,
pub path: Option<String>,
pub mode: Option<String>,
}Expand description
Returns information about a specific Git blob object.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.blob_id: Option<String>The full ID of the blob.
path: Option<String>The path to the blob and associated file name, if any.
mode: Option<String>The file mode permissions of the blob. File mode permission codes include:
-
100644indicates read/write -
100755indicates read/write/execute -
160000indicates a submodule -
120000indicates a symlink
Implementations§
source§impl BlobMetadata
impl BlobMetadata
source§impl BlobMetadata
impl BlobMetadata
sourcepub fn builder() -> BlobMetadataBuilder
pub fn builder() -> BlobMetadataBuilder
Creates a new builder-style object to manufacture BlobMetadata.
Trait Implementations§
source§impl Clone for BlobMetadata
impl Clone for BlobMetadata
source§fn clone(&self) -> BlobMetadata
fn clone(&self) -> BlobMetadata
Returns a copy 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 BlobMetadata
impl Debug for BlobMetadata
source§impl PartialEq<BlobMetadata> for BlobMetadata
impl PartialEq<BlobMetadata> for BlobMetadata
source§fn eq(&self, other: &BlobMetadata) -> bool
fn eq(&self, other: &BlobMetadata) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for BlobMetadata
Auto Trait Implementations§
impl RefUnwindSafe for BlobMetadata
impl Send for BlobMetadata
impl Sync for BlobMetadata
impl Unpin for BlobMetadata
impl UnwindSafe for BlobMetadata
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