pub struct EventSubscription {
pub id: String,
pub workflow_id: String,
pub step_id: usize,
pub execution_pointer_id: String,
pub event_name: String,
pub event_key: String,
pub subscribe_as_of: DateTime<Utc>,
pub subscription_data: Option<Value>,
pub external_token: Option<String>,
pub external_worker_id: Option<String>,
pub external_token_expiry: Option<DateTime<Utc>>,
}Expand description
Eventsubscription.
Fields§
§id: StringId.
workflow_id: StringWorkflow id.
step_id: usizeStep id.
execution_pointer_id: StringExecution pointer id.
event_name: StringEvent name.
event_key: StringEvent key.
subscribe_as_of: DateTime<Utc>Subscribe as of.
subscription_data: Option<Value>Subscription data.
external_token: Option<String>External token.
external_worker_id: Option<String>External worker id.
external_token_expiry: Option<DateTime<Utc>>External token expiry.
Implementations§
Trait Implementations§
Source§impl Clone for EventSubscription
impl Clone for EventSubscription
Source§fn clone(&self) -> EventSubscription
fn clone(&self) -> EventSubscription
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 moreSource§impl Debug for EventSubscription
impl Debug for EventSubscription
Source§impl<'de> Deserialize<'de> for EventSubscription
impl<'de> Deserialize<'de> for EventSubscription
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
Auto Trait Implementations§
impl Freeze for EventSubscription
impl RefUnwindSafe for EventSubscription
impl Send for EventSubscription
impl Sync for EventSubscription
impl Unpin for EventSubscription
impl UnsafeUnpin for EventSubscription
impl UnwindSafe for EventSubscription
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