pub struct OperationalWebhookEndpointSecretOut {
pub key: String,
}
Fields§
§key: String
The endpoint’s verification secret. Format: base64
encoded random bytes optionally prefixed with whsec_
. It is recommended to not set this and let the server generate the secret.
Implementations§
Source§impl OperationalWebhookEndpointSecretOut
impl OperationalWebhookEndpointSecretOut
pub fn new(key: String) -> OperationalWebhookEndpointSecretOut
Trait Implementations§
Source§impl Clone for OperationalWebhookEndpointSecretOut
impl Clone for OperationalWebhookEndpointSecretOut
Source§fn clone(&self) -> OperationalWebhookEndpointSecretOut
fn clone(&self) -> OperationalWebhookEndpointSecretOut
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 moreSource§impl Default for OperationalWebhookEndpointSecretOut
impl Default for OperationalWebhookEndpointSecretOut
Source§fn default() -> OperationalWebhookEndpointSecretOut
fn default() -> OperationalWebhookEndpointSecretOut
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for OperationalWebhookEndpointSecretOut
impl<'de> Deserialize<'de> for OperationalWebhookEndpointSecretOut
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for OperationalWebhookEndpointSecretOut
impl PartialEq for OperationalWebhookEndpointSecretOut
Source§fn eq(&self, other: &OperationalWebhookEndpointSecretOut) -> bool
fn eq(&self, other: &OperationalWebhookEndpointSecretOut) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for OperationalWebhookEndpointSecretOut
Auto Trait Implementations§
impl Freeze for OperationalWebhookEndpointSecretOut
impl RefUnwindSafe for OperationalWebhookEndpointSecretOut
impl Send for OperationalWebhookEndpointSecretOut
impl Sync for OperationalWebhookEndpointSecretOut
impl Unpin for OperationalWebhookEndpointSecretOut
impl UnwindSafe for OperationalWebhookEndpointSecretOut
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