pub struct DecryptedWebhookData {
pub server_key_share: ServerKeyShare,
pub wallet_api_key: String,
}Expand description
Result of decrypting a delegated-wallet webhook.
Both fields hold long-lived secret material. The custom Debug impl
redacts them so accidental tracing::debug!({:?}) or panic
unwraps can’t spill the wallet API key or share secret into logs.
Fields§
The server’s share of the wallet key. Pass this in as
external_server_key_shares to DelegatedWalletClient operations.
wallet_api_key: StringThe per-wallet delegated API key. Use as the wallet_api_key
constructor argument to DelegatedWalletClient.
Trait Implementations§
Source§impl Clone for DecryptedWebhookData
impl Clone for DecryptedWebhookData
Source§fn clone(&self) -> DecryptedWebhookData
fn clone(&self) -> DecryptedWebhookData
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DecryptedWebhookData
impl RefUnwindSafe for DecryptedWebhookData
impl Send for DecryptedWebhookData
impl Sync for DecryptedWebhookData
impl Unpin for DecryptedWebhookData
impl UnsafeUnpin for DecryptedWebhookData
impl UnwindSafe for DecryptedWebhookData
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