pub struct WorkflowStreamItem {
pub offset: u64,
pub payload: Option<Value>,
pub payload_envelope: Option<Value>,
pub payload_reference: Option<String>,
pub payload_codec: Option<String>,
pub idempotency_key: Option<String>,
pub item_type: Option<String>,
pub content_type: Option<String>,
pub origin: Option<String>,
pub origin_reference: Option<String>,
pub emitted_at: Option<String>,
pub raw: Value,
}Expand description
One durable item at its stable zero-based offset.
Fields§
§offset: u64§payload: Option<Value>§payload_envelope: Option<Value>§payload_reference: Option<String>§payload_codec: Option<String>§idempotency_key: Option<String>§item_type: Option<String>§content_type: Option<String>§origin: Option<String>§origin_reference: Option<String>§emitted_at: Option<String>§raw: ValueTrait Implementations§
Source§impl Clone for WorkflowStreamItem
impl Clone for WorkflowStreamItem
Auto Trait Implementations§
impl Forget for WorkflowStreamItem
impl Freeze for WorkflowStreamItemwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<Value>: Freeze,
*const LeafNode<String, Value> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, Value)>>: Freeze,
impl Move for WorkflowStreamItem
impl RefUnwindSafe for WorkflowStreamItem
impl Send for WorkflowStreamItem
impl Sync for WorkflowStreamItem
impl Unpin for WorkflowStreamItem
impl UnsafeUnpin for WorkflowStreamItemwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<Value>: UnsafeUnpin,
*const LeafNode<String, Value> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, Value)>>: UnsafeUnpin,
impl UnwindSafe for WorkflowStreamItem
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