#[repr(i32)]pub enum TriggerEventType {
EVENT_UNSPECIFIED = 0,
EVENT_FIRED = 1,
EVENT_CANCELED = 2,
EVENT_UPDATED = 3,
}Expand description
TriggerEventType defines append-only trigger lifecycle events for history.
Variants§
EVENT_UNSPECIFIED = 0
Trigger event type was not provided.
EVENT_FIRED = 1
Trigger fired and may have created a child order.
EVENT_CANCELED = 2
Trigger was canceled.
EVENT_UPDATED = 3
Trigger configuration or lifecycle state was updated.
Implementations§
Source§impl TriggerEventType
impl TriggerEventType
Sourcepub const EventUnspecified: Self = Self::EVENT_UNSPECIFIED
pub const EventUnspecified: Self = Self::EVENT_UNSPECIFIED
Idiomatic alias for Self::EVENT_UNSPECIFIED; Debug prints the variant name.
Sourcepub const EventFired: Self = Self::EVENT_FIRED
pub const EventFired: Self = Self::EVENT_FIRED
Idiomatic alias for Self::EVENT_FIRED; Debug prints the variant name.
Sourcepub const EventCanceled: Self = Self::EVENT_CANCELED
pub const EventCanceled: Self = Self::EVENT_CANCELED
Idiomatic alias for Self::EVENT_CANCELED; Debug prints the variant name.
Sourcepub const EventUpdated: Self = Self::EVENT_UPDATED
pub const EventUpdated: Self = Self::EVENT_UPDATED
Idiomatic alias for Self::EVENT_UPDATED; Debug prints the variant name.
Trait Implementations§
Source§impl Clone for TriggerEventType
impl Clone for TriggerEventType
Source§fn clone(&self) -> TriggerEventType
fn clone(&self) -> TriggerEventType
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 TriggerEventType
Source§impl Debug for TriggerEventType
impl Debug for TriggerEventType
Source§impl Default for TriggerEventType
impl Default for TriggerEventType
Source§impl<'de> Deserialize<'de> for TriggerEventType
impl<'de> Deserialize<'de> for TriggerEventType
Source§fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl Enumeration for TriggerEventType
impl Enumeration for TriggerEventType
Source§fn proto_name(&self) -> &'static str
fn proto_name(&self) -> &'static str
The name of this enum variant as it appears in the
.proto file.impl Eq for TriggerEventType
Source§impl Hash for TriggerEventType
impl Hash for TriggerEventType
Source§impl PartialEq for TriggerEventType
impl PartialEq for TriggerEventType
Source§impl ProtoElemJson for TriggerEventType
impl ProtoElemJson for TriggerEventType
Source§fn serialize_proto_json<S: Serializer>(
v: &Self,
s: S,
) -> Result<S::Ok, S::Error>
fn serialize_proto_json<S: Serializer>( v: &Self, s: S, ) -> Result<S::Ok, S::Error>
Serialize this value with proto3 JSON semantics.
Source§fn deserialize_proto_json<'de, D: Deserializer<'de>>(
d: D,
) -> Result<Self, D::Error>
fn deserialize_proto_json<'de, D: Deserializer<'de>>( d: D, ) -> Result<Self, D::Error>
Deserialize a value with proto3 JSON semantics.
Source§impl Serialize for TriggerEventType
impl Serialize for TriggerEventType
impl StructuralPartialEq for TriggerEventType
Auto Trait Implementations§
impl Freeze for TriggerEventType
impl RefUnwindSafe for TriggerEventType
impl Send for TriggerEventType
impl Sync for TriggerEventType
impl Unpin for TriggerEventType
impl UnsafeUnpin for TriggerEventType
impl UnwindSafe for TriggerEventType
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§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.