pub struct Headers {
pub authorization: String,
pub x_api_key: Option<String>,
pub x_bot_key: Option<String>,
pub user_agent: String,
}
Fields§
§x_api_key: Option<String>
§x_bot_key: Option<String>
§user_agent: String
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Headers
impl RefUnwindSafe for Headers
impl Send for Headers
impl Sync for Headers
impl Unpin for Headers
impl UnwindSafe for Headers
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