pub struct EndpointSecretRotateIn {
pub key: Option<String>,
}
Fields§
§key: Option<String>
The endpoint’s verification secret. If null
is passed, a secret is automatically generated. Format: base64
encoded random bytes optionally prefixed with whsec_
. Recommended size: 24.
Implementations§
Source§impl EndpointSecretRotateIn
impl EndpointSecretRotateIn
pub fn new() -> EndpointSecretRotateIn
Trait Implementations§
Source§impl Clone for EndpointSecretRotateIn
impl Clone for EndpointSecretRotateIn
Source§fn clone(&self) -> EndpointSecretRotateIn
fn clone(&self) -> EndpointSecretRotateIn
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 Debug for EndpointSecretRotateIn
impl Debug for EndpointSecretRotateIn
Source§impl Default for EndpointSecretRotateIn
impl Default for EndpointSecretRotateIn
Source§fn default() -> EndpointSecretRotateIn
fn default() -> EndpointSecretRotateIn
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EndpointSecretRotateIn
impl<'de> Deserialize<'de> for EndpointSecretRotateIn
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 EndpointSecretRotateIn
impl PartialEq for EndpointSecretRotateIn
Source§impl Serialize for EndpointSecretRotateIn
impl Serialize for EndpointSecretRotateIn
impl StructuralPartialEq for EndpointSecretRotateIn
Auto Trait Implementations§
impl Freeze for EndpointSecretRotateIn
impl RefUnwindSafe for EndpointSecretRotateIn
impl Send for EndpointSecretRotateIn
impl Sync for EndpointSecretRotateIn
impl Unpin for EndpointSecretRotateIn
impl UnwindSafe for EndpointSecretRotateIn
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