pub struct EndpointSecretOut {
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 EndpointSecretOut
impl EndpointSecretOut
pub fn new(key: String) -> EndpointSecretOut
Trait Implementations§
Source§impl Clone for EndpointSecretOut
impl Clone for EndpointSecretOut
Source§fn clone(&self) -> EndpointSecretOut
fn clone(&self) -> EndpointSecretOut
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 EndpointSecretOut
impl Debug for EndpointSecretOut
Source§impl Default for EndpointSecretOut
impl Default for EndpointSecretOut
Source§fn default() -> EndpointSecretOut
fn default() -> EndpointSecretOut
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EndpointSecretOut
impl<'de> Deserialize<'de> for EndpointSecretOut
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 EndpointSecretOut
impl PartialEq for EndpointSecretOut
Source§impl Serialize for EndpointSecretOut
impl Serialize for EndpointSecretOut
impl StructuralPartialEq for EndpointSecretOut
Auto Trait Implementations§
impl Freeze for EndpointSecretOut
impl RefUnwindSafe for EndpointSecretOut
impl Send for EndpointSecretOut
impl Sync for EndpointSecretOut
impl Unpin for EndpointSecretOut
impl UnwindSafe for EndpointSecretOut
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