pub enum ScheduledMessageType {
Stream,
Private,
}Expand description
Represents the ScheduledMessage type.
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§
Implementations§
Source§impl ScheduledMessageType
impl ScheduledMessageType
Sourcepub const fn new() -> Self
pub const fn new() -> Self
Creates a new ScheduledMessageType.
Trait Implementations§
Source§impl Clone for ScheduledMessageType
impl Clone for ScheduledMessageType
impl Copy for ScheduledMessageType
Source§impl Debug for ScheduledMessageType
impl Debug for ScheduledMessageType
Source§impl Default for ScheduledMessageType
impl Default for ScheduledMessageType
Source§impl<'de> Deserialize<'de> for ScheduledMessageType
impl<'de> Deserialize<'de> for ScheduledMessageType
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 Display for ScheduledMessageType
impl Display for ScheduledMessageType
impl Eq for ScheduledMessageType
Source§impl PartialEq for ScheduledMessageType
impl PartialEq for ScheduledMessageType
Source§impl Serialize for ScheduledMessageType
impl Serialize for ScheduledMessageType
impl StructuralPartialEq for ScheduledMessageType
Auto Trait Implementations§
impl Freeze for ScheduledMessageType
impl RefUnwindSafe for ScheduledMessageType
impl Send for ScheduledMessageType
impl Sync for ScheduledMessageType
impl Unpin for ScheduledMessageType
impl UnsafeUnpin for ScheduledMessageType
impl UnwindSafe for ScheduledMessageType
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.