pub fn encode<R: Resource>(
action: &R::Action,
) -> Result<EncodedAction, ActionError>Expand description
Encode a resource action under its registry type id.
ยงErrors
Returns ActionError::Encode when the action does not serialize.
pub fn encode<R: Resource>(
action: &R::Action,
) -> Result<EncodedAction, ActionError>Encode a resource action under its registry type id.
Returns ActionError::Encode when the action does not serialize.