pub fn exec(pem: &str, opts: ListNeuronsOpts) -> AnyhowResult<Vec<Ingress>> {
    let args = Encode!(&ListNeurons {
        neuron_ids: opts.neuron_id.clone(),
        include_neurons_readable_by_caller: opts.neuron_id.is_empty(),
    })?;
    Ok(vec![sign_ingress(
        pem,
        governance_canister_id(),
        "list_neurons",
        args,
    )?])
}
// We currently only support a subset of the functionality.
We currently only support a subset of the functionality.
We currently only support a subset of the functionality .
pub fn exec(pem: &str, opts: ListNeuronsOpts) -> AnyhowResult<Vec<Ingress>> {
    let args = Encode!(&ListNeurons {
        neuron_ids: opts.neuron_id.clone(),
        include_neurons_readable_by_caller: opts.neuron_id.is_empty(),
    })?;
    Ok(vec![sign_ingress(
        pem,
        governance_canister_id(),
        "list_neurons",
        args,
    )?])
}
pub fn exec ( pem : & str , opts : ListNeuronsOpts ) -> AnyhowResult < Vec < Ingress > > { let args = Encode ! ( ListNeurons { neuron_ids opts neuron_id clone ( ) include_neurons_readable_by_caller opts neuron_id is_empty ( ) } ) ? ; Ok ( vec ! [ sign_ingress ( pem governance_canister_id ( ) " " args ) ] ) }
We currently only support a subset of the functionality.
We currently only support a subset of the functionality .
pem
&str
opts
ListNeuronsOpts