pub enum UserDraftItemKind {
Show 24 variants
Script,
Flow,
App,
RawApp,
Resource,
Variable,
TriggerSchedule,
TriggerWebhook,
TriggerDefaultEmail,
TriggerEmail,
TriggerHttp,
TriggerWebsocket,
TriggerPostgres,
TriggerKafka,
TriggerNats,
TriggerMqtt,
TriggerSqs,
TriggerGcp,
TriggerAzure,
TriggerPoll,
TriggerCli,
TriggerNextcloud,
TriggerGoogle,
TriggerGithub,
}Expand description
UserDraftItemKind : Closed set of item kinds a user can autosave as a draft. Mirrors the Postgres DRAFT_KIND enum and the backend UserDraftItemKind.
Closed set of item kinds a user can autosave as a draft. Mirrors the Postgres DRAFT_KIND enum and the backend UserDraftItemKind.
Variants§
Script
Flow
App
RawApp
Resource
Variable
TriggerSchedule
TriggerWebhook
TriggerDefaultEmail
TriggerEmail
TriggerHttp
TriggerWebsocket
TriggerPostgres
TriggerKafka
TriggerNats
TriggerMqtt
TriggerSqs
TriggerGcp
TriggerAzure
TriggerPoll
TriggerCli
TriggerNextcloud
TriggerGoogle
TriggerGithub
Trait Implementations§
Source§impl Clone for UserDraftItemKind
impl Clone for UserDraftItemKind
Source§fn clone(&self) -> UserDraftItemKind
fn clone(&self) -> UserDraftItemKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for UserDraftItemKind
Source§impl Debug for UserDraftItemKind
impl Debug for UserDraftItemKind
Source§impl Default for UserDraftItemKind
impl Default for UserDraftItemKind
Source§fn default() -> UserDraftItemKind
fn default() -> UserDraftItemKind
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UserDraftItemKind
impl<'de> Deserialize<'de> for UserDraftItemKind
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 UserDraftItemKind
impl Display for UserDraftItemKind
impl Eq for UserDraftItemKind
Source§impl Hash for UserDraftItemKind
impl Hash for UserDraftItemKind
Source§impl Ord for UserDraftItemKind
impl Ord for UserDraftItemKind
Source§fn cmp(&self, other: &UserDraftItemKind) -> Ordering
fn cmp(&self, other: &UserDraftItemKind) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for UserDraftItemKind
impl PartialEq for UserDraftItemKind
Source§fn eq(&self, other: &UserDraftItemKind) -> bool
fn eq(&self, other: &UserDraftItemKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for UserDraftItemKind
impl PartialOrd for UserDraftItemKind
Source§impl Serialize for UserDraftItemKind
impl Serialize for UserDraftItemKind
impl StructuralPartialEq for UserDraftItemKind
Auto Trait Implementations§
impl Freeze for UserDraftItemKind
impl RefUnwindSafe for UserDraftItemKind
impl Send for UserDraftItemKind
impl Sync for UserDraftItemKind
impl Unpin for UserDraftItemKind
impl UnsafeUnpin for UserDraftItemKind
impl UnwindSafe for UserDraftItemKind
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
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>,
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.