pub struct XHubSignature256(pub String);Expand description
An axum-style TypedHeader for the X-Hub-Signature-256 header.
Example:
fn handle(
TypedHeader(XHubSignature256(signature)): TypedHeader<XHubSignature256>,
) -> impl IntoResponse {
// ...
}Tuple Fields§
§0: StringTrait Implementations§
Auto Trait Implementations§
impl Freeze for XHubSignature256
impl RefUnwindSafe for XHubSignature256
impl Send for XHubSignature256
impl Sync for XHubSignature256
impl Unpin for XHubSignature256
impl UnwindSafe for XHubSignature256
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