pub fn chain_item_to_action(
    u: &mut Unstructured<'_>,
    i: &impl ChainItem
) -> SignedActionHashed
Expand description

Produce an arbitrary SignedActionHashed from any ChainItem.

The SignedActionHashed will not be valid in any sense other than the fields relevant to ChainItem.