Skip to content

Commit

Permalink
rm objects_failed field
Browse files Browse the repository at this point in the history
  • Loading branch information
aajtodd committed Jul 29, 2024
1 parent 194af5a commit f324138
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions aws-s3-transfer-manager/src/operation/download_objects/output.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ pub struct DownloadObjectsOutput {
/// The number of objects that were successfully downloaded
pub objects_downloaded: u64,

/// The number of objects that failed to be downloaded
pub objects_failed: u64,

/// A list of failed object transfers
pub failed_transfers: Option<Vec<FailedDownloadTransfer>>,
}
Expand All @@ -30,11 +27,6 @@ impl DownloadObjectsOutput {
self.objects_downloaded
}

/// The number of objects that failed to be downloaded
pub fn objects_failed(&self) -> u64 {
self.objects_failed
}

/// A slice of failed object transfers
///
/// If no value was sent for this field, a default will be set. If you want to determine if no value was
Expand All @@ -49,7 +41,6 @@ impl DownloadObjectsOutput {
#[derive(Debug, Default)]
pub struct DownloadObjectsOutputBuilder {
pub(crate) objects_downloaded: u64,
pub(crate) objects_failed: u64,
pub(crate) failed_transfers: Option<Vec<FailedDownloadTransfer>>,
}

Expand All @@ -65,17 +56,6 @@ impl DownloadObjectsOutputBuilder {
self.objects_downloaded
}

/// The number of objects that failed to be downloaded
pub fn objects_failed(mut self, input: u64) -> Self {
self.objects_failed = input;
self
}

/// The number of objects that failed to be downloaded
pub fn get_objects_failed(&self) -> u64 {
self.objects_failed
}

/// Append a failed transfer.
///
/// To override the contents of this collection use
Expand Down

0 comments on commit f324138

Please sign in to comment.