Struct svix::api::endpoint_patch::EndpointPatch
source · pub struct EndpointPatch {
pub channels: Option<Vec<String>>,
pub description: Option<String>,
pub disabled: Option<bool>,
pub filter_types: Option<Vec<String>>,
pub metadata: Option<HashMap<String, String>>,
pub rate_limit: Option<i32>,
pub secret: Option<String>,
pub uid: Option<String>,
pub url: Option<String>,
pub version: Option<i32>,
}
Fields§
§channels: Option<Vec<String>>
§description: Option<String>
§disabled: Option<bool>
§filter_types: Option<Vec<String>>
§metadata: Option<HashMap<String, String>>
§rate_limit: Option<i32>
§secret: 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.
uid: Option<String>
The ep’s UID
url: Option<String>
§version: Option<i32>
Implementations§
source§impl EndpointPatch
impl EndpointPatch
pub fn new() -> EndpointPatch
Trait Implementations§
source§impl Clone for EndpointPatch
impl Clone for EndpointPatch
source§fn clone(&self) -> EndpointPatch
fn clone(&self) -> EndpointPatch
Returns a copy 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 EndpointPatch
impl Debug for EndpointPatch
source§impl Default for EndpointPatch
impl Default for EndpointPatch
source§fn default() -> EndpointPatch
fn default() -> EndpointPatch
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for EndpointPatch
impl<'de> Deserialize<'de> for EndpointPatch
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 EndpointPatch
impl PartialEq for EndpointPatch
source§fn eq(&self, other: &EndpointPatch) -> bool
fn eq(&self, other: &EndpointPatch) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for EndpointPatch
impl Serialize for EndpointPatch
impl StructuralPartialEq for EndpointPatch
Auto Trait Implementations§
impl RefUnwindSafe for EndpointPatch
impl Send for EndpointPatch
impl Sync for EndpointPatch
impl Unpin for EndpointPatch
impl UnwindSafe for EndpointPatch
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