pub struct OperationalWebhookEndpointSecretIn {
pub key: Option<String>,
}
Fields§
§key: Option<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§
Trait Implementations§
Source§impl Clone for OperationalWebhookEndpointSecretIn
impl Clone for OperationalWebhookEndpointSecretIn
Source§fn clone(&self) -> OperationalWebhookEndpointSecretIn
fn clone(&self) -> OperationalWebhookEndpointSecretIn
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 OperationalWebhookEndpointSecretIn
impl Default for OperationalWebhookEndpointSecretIn
Source§fn default() -> OperationalWebhookEndpointSecretIn
fn default() -> OperationalWebhookEndpointSecretIn
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for OperationalWebhookEndpointSecretIn
impl<'de> Deserialize<'de> for OperationalWebhookEndpointSecretIn
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 OperationalWebhookEndpointSecretIn
impl PartialEq for OperationalWebhookEndpointSecretIn
Source§fn eq(&self, other: &OperationalWebhookEndpointSecretIn) -> bool
fn eq(&self, other: &OperationalWebhookEndpointSecretIn) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for OperationalWebhookEndpointSecretIn
Auto Trait Implementations§
impl Freeze for OperationalWebhookEndpointSecretIn
impl RefUnwindSafe for OperationalWebhookEndpointSecretIn
impl Send for OperationalWebhookEndpointSecretIn
impl Sync for OperationalWebhookEndpointSecretIn
impl Unpin for OperationalWebhookEndpointSecretIn
impl UnwindSafe for OperationalWebhookEndpointSecretIn
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