pub struct HeadBucket<'a> { /* private fields */ }Expand description
Retrieve an bucket’s metadata from S3, using a HEAD request.
Find out more about HeadBucket from the AWS API Reference
Implementations§
Source§impl<'a> HeadBucket<'a>
impl<'a> HeadBucket<'a>
pub const fn new( bucket: &'a Bucket, credentials: Option<&'a Credentials>, ) -> Self
Trait Implementations§
Source§impl<'a> Clone for HeadBucket<'a>
impl<'a> Clone for HeadBucket<'a>
Source§fn clone(&self) -> HeadBucket<'a>
fn clone(&self) -> HeadBucket<'a>
Returns a duplicate 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<'a> Debug for HeadBucket<'a>
impl<'a> Debug for HeadBucket<'a>
Source§impl<'a> S3Action<'a> for HeadBucket<'a>
impl<'a> S3Action<'a> for HeadBucket<'a>
const METHOD: Method = Method::Head
Source§fn query_mut(&mut self) -> &mut Map<'a>
fn query_mut(&mut self) -> &mut Map<'a>
Get a mutable reference to the query string of this action
Source§fn headers_mut(&mut self) -> &mut Map<'a>
fn headers_mut(&mut self) -> &mut Map<'a>
Get a mutable reference to the signed headers of this action Read more
Auto Trait Implementations§
impl<'a> Freeze for HeadBucket<'a>
impl<'a> RefUnwindSafe for HeadBucket<'a>
impl<'a> Send for HeadBucket<'a>
impl<'a> Sync for HeadBucket<'a>
impl<'a> Unpin for HeadBucket<'a>
impl<'a> UnwindSafe for HeadBucket<'a>
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