Function sign_directive_with_signer
pub async fn sign_directive_with_signer<S>(
signer: &S,
action_key: ActionKey,
account: Address,
nonce: u64,
action: &Value,
chain_id: u64,
) -> Result<String, DirectiveSigningError>where
S: Signer + Sync,