pub struct ActionEnvelope<T: Flow> {
pub origin: ProviderReqId,
pub activity: Activity,
pub action: Option<T::Action>,
}
Expand description
Envelope for incoming actions that contains routing information.
Fields§
§origin: ProviderReqId
Direction to a client.
activity: Activity
The reason of sending an envelope.
action: Option<T::Action>
An action sent to a clinet. It’s detached from activity to make it suitable for third-party languages.
Trait Implementations§
Source§impl<T: Clone + Flow> Clone for ActionEnvelope<T>
impl<T: Clone + Flow> Clone for ActionEnvelope<T>
Source§fn clone(&self) -> ActionEnvelope<T>
fn clone(&self) -> ActionEnvelope<T>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl<T> Freeze for ActionEnvelope<T>
impl<T> RefUnwindSafe for ActionEnvelope<T>
impl<T> Send for ActionEnvelope<T>
impl<T> Sync for ActionEnvelope<T>
impl<T> Unpin for ActionEnvelope<T>
impl<T> UnwindSafe for ActionEnvelope<T>
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