#[non_exhaustive]pub struct GetObjectTorrentOutput {
pub body: ByteStream,
pub request_charged: Option<RequestCharged>,
/* private fields */
}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.body: ByteStreamA Bencoded dictionary as defined by the BitTorrent specification
request_charged: Option<RequestCharged>If present, indicates that the requester was successfully charged for the request. For more information, see Using Requester Pays buckets for storage transfers and usage in the Amazon Simple Storage Service user guide.
This functionality is not supported for directory buckets.
Implementations§
Source§impl GetObjectTorrentOutput
impl GetObjectTorrentOutput
Sourcepub fn body(&self) -> &ByteStream
pub fn body(&self) -> &ByteStream
A Bencoded dictionary as defined by the BitTorrent specification
Sourcepub fn request_charged(&self) -> Option<&RequestCharged>
pub fn request_charged(&self) -> Option<&RequestCharged>
If present, indicates that the requester was successfully charged for the request. For more information, see Using Requester Pays buckets for storage transfers and usage in the Amazon Simple Storage Service user guide.
This functionality is not supported for directory buckets.
Source§impl GetObjectTorrentOutput
impl GetObjectTorrentOutput
Sourcepub fn builder() -> GetObjectTorrentOutputBuilder
pub fn builder() -> GetObjectTorrentOutputBuilder
Creates a new builder-style object to manufacture GetObjectTorrentOutput.
Trait Implementations§
Source§impl Debug for GetObjectTorrentOutput
impl Debug for GetObjectTorrentOutput
Source§impl RequestId for GetObjectTorrentOutput
impl RequestId for GetObjectTorrentOutput
Source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None if the service could not be reached.Source§impl RequestIdExt for GetObjectTorrentOutput
impl RequestIdExt for GetObjectTorrentOutput
Source§fn extended_request_id(&self) -> Option<&str>
fn extended_request_id(&self) -> Option<&str>
Auto Trait Implementations§
impl !Freeze for GetObjectTorrentOutput
impl !RefUnwindSafe for GetObjectTorrentOutput
impl Send for GetObjectTorrentOutput
impl Sync for GetObjectTorrentOutput
impl Unpin for GetObjectTorrentOutput
impl !UnwindSafe for GetObjectTorrentOutput
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