#[repr(u8)]pub enum OutgoingWebhookInterface {
Native = 1,
EmulateSlack = 2,
}Expand description
Represents An integer indicating what format requests are posted in
Modified from openapi-generator-cli output:
$ openapi-generator-cli generate -g rust -i ./zerver/openapi/zulip.yaml -o zulip-openapi --skip-validate-spec/*
* Zulip REST API
*
* Powerful open source group chat
*
* The version of the OpenAPI document: 1.0.0
*
* Generated by: https://openapi-generator.tech
*/See zerver/openapi/zulip.yaml for the original OpenAPI configuration.
Configuration slightly modified to work with the Rust generator of openapi-generator-cli.
Variants§
Native = 1
Zulip’s native outgoing webhook format
EmulateSlack = 2
Emulate the Slack outgoing webhook format.
Trait Implementations§
Source§impl Clone for OutgoingWebhookInterface
impl Clone for OutgoingWebhookInterface
impl Copy for OutgoingWebhookInterface
Source§impl Debug for OutgoingWebhookInterface
impl Debug for OutgoingWebhookInterface
Source§impl<'de> Deserialize<'de> for OutgoingWebhookInterface
impl<'de> Deserialize<'de> for OutgoingWebhookInterface
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
impl Eq for OutgoingWebhookInterface
Source§impl PartialEq for OutgoingWebhookInterface
impl PartialEq for OutgoingWebhookInterface
Source§impl Serialize for OutgoingWebhookInterface
impl Serialize for OutgoingWebhookInterface
impl StructuralPartialEq for OutgoingWebhookInterface
Auto Trait Implementations§
impl Freeze for OutgoingWebhookInterface
impl RefUnwindSafe for OutgoingWebhookInterface
impl Send for OutgoingWebhookInterface
impl Sync for OutgoingWebhookInterface
impl Unpin for OutgoingWebhookInterface
impl UnsafeUnpin for OutgoingWebhookInterface
impl UnwindSafe for OutgoingWebhookInterface
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.