pub struct WebhookSecret { /* private fields */ }Expand description
A webhook signing secret stored as raw bytes.
Serialized as whsec_<base64> strings for config files and APIs.
Debug output is always redacted — key bytes are never printed.
Implementations§
Trait Implementations§
Source§impl Debug for WebhookSecret
impl Debug for WebhookSecret
Source§impl<'de> Deserialize<'de> for WebhookSecret
impl<'de> Deserialize<'de> for WebhookSecret
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for WebhookSecret
impl Display for WebhookSecret
Source§impl FromStr for WebhookSecret
impl FromStr for WebhookSecret
Auto Trait Implementations§
impl Freeze for WebhookSecret
impl RefUnwindSafe for WebhookSecret
impl Send for WebhookSecret
impl Sync for WebhookSecret
impl Unpin for WebhookSecret
impl UnsafeUnpin for WebhookSecret
impl UnwindSafe for WebhookSecret
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.