pub struct WebhookSecret { /* private fields */ }Expand description
Named secret key participating in per-route webhook secret rotation.
Implementations§
Source§impl WebhookSecret
Inherent constructors for WebhookSecret.
impl WebhookSecret
Inherent constructors for WebhookSecret.
Source§impl WebhookSecret
impl WebhookSecret
pub fn get_id(&self) -> &String
pub fn get_mut_id(&mut self) -> &mut String
pub fn set_id(&mut self, val: String) -> &mut Self
pub fn get_secret(&self) -> &Vec<u8> ⓘ
pub fn get_mut_secret(&mut self) -> &mut Vec<u8> ⓘ
pub fn set_secret(&mut self, val: Vec<u8>) -> &mut Self
Trait Implementations§
Source§impl Clone for WebhookSecret
impl Clone for WebhookSecret
Source§impl Debug for WebhookSecret
Redacts secret bytes when formatting WebhookSecret for debugging.
impl Debug for WebhookSecret
Redacts secret bytes when formatting WebhookSecret for debugging.
impl Eq for WebhookSecret
Source§impl PartialEq for WebhookSecret
impl PartialEq for WebhookSecret
impl StructuralPartialEq for WebhookSecret
Auto Trait Implementations§
impl Forget for WebhookSecret
impl Freeze for WebhookSecret
impl Move for WebhookSecret
impl RefUnwindSafe for WebhookSecret
impl Send for WebhookSecretwhere
RawVecInner: Send,
impl Sync for WebhookSecretwhere
RawVecInner: Sync,
impl Unpin for WebhookSecret
impl UnsafeUnpin for WebhookSecret
impl UnwindSafe for WebhookSecretwhere
RawVecInner: UnwindSafe,
Blanket Implementations§
impl<T> AnySend for T
impl<T> AnySendClone for T
impl<T> AnySendSync for T
impl<T> AnySendSyncClone for T
impl<T> AnySync for T
impl<T> AnySyncClone for T
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.