pub struct HeaderParams {
pub action: &'static str,
pub version: Version,
pub region: Option<Region>,
pub datetime: DateTime<Utc>,
pub authorization: String,
pub language: Language,
pub content_type: ContentType,
}Expand description
Headers
Fields§
§action: &'static strX-TC-Action
version: VersionX-TC-Version
region: Option<Region>X-TC-Region
datetime: DateTime<Utc>Authorization
language: LanguageX-TC-Language en-US/zh-CN
content_type: ContentTypeTrait Implementations§
Source§impl Debug for HeaderParams
impl Debug for HeaderParams
Auto Trait Implementations§
impl Freeze for HeaderParams
impl RefUnwindSafe for HeaderParams
impl Send for HeaderParams
impl Sync for HeaderParams
impl Unpin for HeaderParams
impl UnwindSafe for HeaderParams
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