pub struct NearMissWebhookFixture {
pub scenario: NearMissScenario,
pub profile: WebhookProfile,
pub secret: String,
pub payload: String,
pub headers: BTreeMap<String, String>,
pub timestamp: i64,
pub signature_input: String,
}Expand description
A near-miss webhook fixture for negative tests.
Fields§
§scenario: NearMissScenarioNegative scenario marker.
profile: WebhookProfileProfile used to generate fixture semantics.
secret: StringSigning secret (intentionally wrong for WrongSecret).
payload: StringPayload body (intentionally modified for TamperedPayload).
headers: BTreeMap<String, String>HTTP headers to attach to the request.
timestamp: i64Timestamp used in signature generation (may be stale).
signature_input: StringCanonical signature input/base string.
Trait Implementations§
Source§impl Clone for NearMissWebhookFixture
impl Clone for NearMissWebhookFixture
Source§fn clone(&self) -> NearMissWebhookFixture
fn clone(&self) -> NearMissWebhookFixture
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 moreAuto Trait Implementations§
impl Freeze for NearMissWebhookFixture
impl RefUnwindSafe for NearMissWebhookFixture
impl Send for NearMissWebhookFixture
impl Sync for NearMissWebhookFixture
impl Unpin for NearMissWebhookFixture
impl UnsafeUnpin for NearMissWebhookFixture
impl UnwindSafe for NearMissWebhookFixture
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