pub struct HeadFileRequest {
pub bucket_name: String,
pub key_name: String,
pub security_token: Option<String>,
/* private fields */
}Expand description
Re-export head_file module Request configuration
Fields§
§bucket_name: StringRequired: Bucket name
key_name: StringRequired: Key name of the file or object name.
security_token: Option<String>Optional: STS temporary security token. but not implementated at now.
Trait Implementations§
Source§impl ApiRequest for HeadFileRequest
impl ApiRequest for HeadFileRequest
type Response = HeadFileResponse
type Error = Error
Source§fn request<'async_trait>(
self,
) -> Pin<Box<dyn Future<Output = Result<Self::Response, Self::Error>> + Send + 'async_trait>>where
Self: 'async_trait,
fn request<'async_trait>(
self,
) -> Pin<Box<dyn Future<Output = Result<Self::Response, Self::Error>> + Send + 'async_trait>>where
Self: 'async_trait,
This method consumed the request and return the response.
Create ApiOperation impl and invoke
ApiOperation’s execute method to consume self. Read moreAuto Trait Implementations§
impl !RefUnwindSafe for HeadFileRequest
impl !UnwindSafe for HeadFileRequest
impl Freeze for HeadFileRequest
impl Send for HeadFileRequest
impl Sync for HeadFileRequest
impl Unpin for HeadFileRequest
impl UnsafeUnpin for HeadFileRequest
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