librustzcash/rustdoc/latest/zcash_client_backend/data_api/trait.InputSource.html

102 lines
24 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="A trait representing the capability to query a data store for unspent transaction outputs belonging to a account."><title>InputSource in zcash_client_backend::data_api - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-MediumItalic-ccf7e434.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../static.files/normalize-9960930a.css"><link rel="stylesheet" href="../../static.files/rustdoc-20739d33.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="zcash_client_backend" data-themes="" data-resource-suffix="" data-rustdoc-version="1.88.0-nightly (74509131e 2025-04-29)" data-channel="nightly" data-search-js="search-f7877310.js" data-settings-js="settings-5514c975.js" ><script src="../../static.files/storage-4e99c027.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-7ef8a74a.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-893ab5e7.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-6580c154.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-044be391.svg"></head><body class="rustdoc trait"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../zcash_client_backend/index.html">zcash_<wbr>client_<wbr>backend</a><span class="version">0.18.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Input<wbr>Source</a></h2><h3><a href="#required-associated-types">Required Associated Types</a></h3><ul class="block"><li><a href="#associatedtype.AccountId" title="AccountId">AccountId</a></li><li><a href="#associatedtype.Error" title="Error">Error</a></li><li><a href="#associatedtype.NoteRef" title="NoteRef">NoteRef</a></li></ul><h3><a href="#required-methods">Required Methods</a></h3><ul class="block"><li><a href="#tymethod.get_account_metadata" title="get_account_metadata">get_account_metadata</a></li><li><a href="#tymethod.get_spendable_note" title="get_spendable_note">get_spendable_note</a></li><li><a href="#tymethod.select_spendable_notes" title="select_spendable_notes">select_spendable_notes</a></li></ul><h3><a href="#provided-methods">Provided Methods</a></h3><ul class="block"><li><a href="#method.get_spendable_transparent_outputs" title="get_spendable_transparent_outputs">get_spendable_transparent_outputs</a></li><li><a href="#method.get_unspent_transparent_output" title="get_unspent_transparent_output">get_unspent_transparent_output</a></li></ul><h3><a href="#implementors">Implementors</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In zcash_<wbr>client_<wbr>backend::<wbr>data_<wbr>api</a></h2></div></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><div class="rustdoc-breadcrumbs"><a href="../index.html">zcash_client_backend</a>::<wbr><a href="index.html">data_api</a></div><h1>Trait <span class="trait">InputSource</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../../src/zcash_client_backend/data_api.rs.html#1169-1255">Source</a> </span></div><pre class="rust item-decl"><code>pub trait InputSource {
type <a href="#associatedtype.Error" class="associatedtype">Error</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a>;
type <a href="#associatedtype.AccountId" class="associatedtype">AccountId</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Copy.html" title="trait core::marker::Copy">Copy</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.Eq.html" title="trait core::cmp::Eq">Eq</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html" title="trait core::hash::Hash">Hash</a>;
type <a href="#associatedtype.NoteRef" class="associatedtype">NoteRef</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Copy.html" title="trait core::marker::Copy">Copy</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.Eq.html" title="trait core::cmp::Eq">Eq</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html" title="trait core::cmp::Ord">Ord</a>;
// Required methods
fn <a href="#tymethod.get_spendable_note" class="fn">get_spendable_note</a>(
&amp;self,
txid: &amp;TxId,
protocol: ShieldedProtocol,
index: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="../wallet/struct.ReceivedNote.html" title="struct zcash_client_backend::wallet::ReceivedNote">ReceivedNote</a>&lt;Self::<a class="associatedtype" href="trait.InputSource.html#associatedtype.NoteRef" title="type zcash_client_backend::data_api::InputSource::NoteRef">NoteRef</a>, <a class="enum" href="../wallet/enum.Note.html" title="enum zcash_client_backend::wallet::Note">Note</a>&gt;&gt;, Self::<a class="associatedtype" href="trait.InputSource.html#associatedtype.Error" title="type zcash_client_backend::data_api::InputSource::Error">Error</a>&gt;;
<span class="item-spacer"></span> fn <a href="#tymethod.select_spendable_notes" class="fn">select_spendable_notes</a>(
&amp;self,
account: Self::<a class="associatedtype" href="trait.InputSource.html#associatedtype.AccountId" title="type zcash_client_backend::data_api::InputSource::AccountId">AccountId</a>,
target_value: Zatoshis,
sources: &amp;[ShieldedProtocol],
anchor_height: BlockHeight,
exclude: &amp;[Self::<a class="associatedtype" href="trait.InputSource.html#associatedtype.NoteRef" title="type zcash_client_backend::data_api::InputSource::NoteRef">NoteRef</a>],
) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="struct.SpendableNotes.html" title="struct zcash_client_backend::data_api::SpendableNotes">SpendableNotes</a>&lt;Self::<a class="associatedtype" href="trait.InputSource.html#associatedtype.NoteRef" title="type zcash_client_backend::data_api::InputSource::NoteRef">NoteRef</a>&gt;, Self::<a class="associatedtype" href="trait.InputSource.html#associatedtype.Error" title="type zcash_client_backend::data_api::InputSource::Error">Error</a>&gt;;
<span class="item-spacer"></span> fn <a href="#tymethod.get_account_metadata" class="fn">get_account_metadata</a>(
&amp;self,
account: Self::<a class="associatedtype" href="trait.InputSource.html#associatedtype.AccountId" title="type zcash_client_backend::data_api::InputSource::AccountId">AccountId</a>,
selector: &amp;<a class="enum" href="enum.NoteFilter.html" title="enum zcash_client_backend::data_api::NoteFilter">NoteFilter</a>,
exclude: &amp;[Self::<a class="associatedtype" href="trait.InputSource.html#associatedtype.NoteRef" title="type zcash_client_backend::data_api::InputSource::NoteRef">NoteRef</a>],
) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="struct.AccountMeta.html" title="struct zcash_client_backend::data_api::AccountMeta">AccountMeta</a>, Self::<a class="associatedtype" href="trait.InputSource.html#associatedtype.Error" title="type zcash_client_backend::data_api::InputSource::Error">Error</a>&gt;;
// Provided methods
fn <a href="#method.get_unspent_transparent_output" class="fn">get_unspent_transparent_output</a>(
&amp;self,
_outpoint: &amp;OutPoint,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="../wallet/struct.WalletTransparentOutput.html" title="struct zcash_client_backend::wallet::WalletTransparentOutput">WalletTransparentOutput</a>&gt;, Self::<a class="associatedtype" href="trait.InputSource.html#associatedtype.Error" title="type zcash_client_backend::data_api::InputSource::Error">Error</a>&gt; { ... }
<span class="item-spacer"></span> fn <a href="#method.get_spendable_transparent_outputs" class="fn">get_spendable_transparent_outputs</a>(
&amp;self,
_address: &amp;TransparentAddress,
_target_height: BlockHeight,
_min_confirmations: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../wallet/struct.WalletTransparentOutput.html" title="struct zcash_client_backend::wallet::WalletTransparentOutput">WalletTransparentOutput</a>&gt;, Self::<a class="associatedtype" href="trait.InputSource.html#associatedtype.Error" title="type zcash_client_backend::data_api::InputSource::Error">Error</a>&gt; { ... }
}</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>A trait representing the capability to query a data store for unspent transaction outputs
belonging to a account.</p>
</div></details><h2 id="required-associated-types" class="section-header">Required Associated Types<a href="#required-associated-types" class="anchor">§</a></h2><div class="methods"><details class="toggle" open><summary><section id="associatedtype.Error" class="method"><a class="src rightside" href="../../src/zcash_client_backend/data_api.rs.html#1171">Source</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a></h4></section></summary><div class="docblock"><p>The type of errors produced by a wallet backend.</p>
</div></details><details class="toggle" open><summary><section id="associatedtype.AccountId" class="method"><a class="src rightside" href="../../src/zcash_client_backend/data_api.rs.html#1179">Source</a><h4 class="code-header">type <a href="#associatedtype.AccountId" class="associatedtype">AccountId</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Copy.html" title="trait core::marker::Copy">Copy</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.Eq.html" title="trait core::cmp::Eq">Eq</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html" title="trait core::hash::Hash">Hash</a></h4></section></summary><div class="docblock"><p>Backend-specific account identifier.</p>
<p>An account identifier corresponds to at most a single unified spending keys worth of spend
authority, such that both received notes and change spendable by that spending authority
will be interpreted as belonging to that account. This might be a database identifier type
or a UUID.</p>
</div></details><details class="toggle" open><summary><section id="associatedtype.NoteRef" class="method"><a class="src rightside" href="../../src/zcash_client_backend/data_api.rs.html#1184">Source</a><h4 class="code-header">type <a href="#associatedtype.NoteRef" class="associatedtype">NoteRef</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Copy.html" title="trait core::marker::Copy">Copy</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.Eq.html" title="trait core::cmp::Eq">Eq</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html" title="trait core::cmp::Ord">Ord</a></h4></section></summary><div class="docblock"><p>Backend-specific note identifier.</p>
<p>For example, this might be a database identifier type or a UUID.</p>
</div></details></div><h2 id="required-methods" class="section-header">Required Methods<a href="#required-methods" class="anchor">§</a></h2><div class="methods"><details class="toggle method-toggle" open><summary><section id="tymethod.get_spendable_note" class="method"><a class="src rightside" href="../../src/zcash_client_backend/data_api.rs.html#1191-1196">Source</a><h4 class="code-header">fn <a href="#tymethod.get_spendable_note" class="fn">get_spendable_note</a>(
&amp;self,
txid: &amp;TxId,
protocol: ShieldedProtocol,
index: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="../wallet/struct.ReceivedNote.html" title="struct zcash_client_backend::wallet::ReceivedNote">ReceivedNote</a>&lt;Self::<a class="associatedtype" href="trait.InputSource.html#associatedtype.NoteRef" title="type zcash_client_backend::data_api::InputSource::NoteRef">NoteRef</a>, <a class="enum" href="../wallet/enum.Note.html" title="enum zcash_client_backend::wallet::Note">Note</a>&gt;&gt;, Self::<a class="associatedtype" href="trait.InputSource.html#associatedtype.Error" title="type zcash_client_backend::data_api::InputSource::Error">Error</a>&gt;</h4></section></summary><div class="docblock"><p>Fetches a spendable note by indexing into a transactions shielded outputs for the
specified shielded protocol.</p>
<p>Returns <code>Ok(None)</code> if the note is not known to belong to the wallet or if the note
is not spendable.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.select_spendable_notes" class="method"><a class="src rightside" href="../../src/zcash_client_backend/data_api.rs.html#1201-1208">Source</a><h4 class="code-header">fn <a href="#tymethod.select_spendable_notes" class="fn">select_spendable_notes</a>(
&amp;self,
account: Self::<a class="associatedtype" href="trait.InputSource.html#associatedtype.AccountId" title="type zcash_client_backend::data_api::InputSource::AccountId">AccountId</a>,
target_value: Zatoshis,
sources: &amp;[ShieldedProtocol],
anchor_height: BlockHeight,
exclude: &amp;[Self::<a class="associatedtype" href="trait.InputSource.html#associatedtype.NoteRef" title="type zcash_client_backend::data_api::InputSource::NoteRef">NoteRef</a>],
) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="struct.SpendableNotes.html" title="struct zcash_client_backend::data_api::SpendableNotes">SpendableNotes</a>&lt;Self::<a class="associatedtype" href="trait.InputSource.html#associatedtype.NoteRef" title="type zcash_client_backend::data_api::InputSource::NoteRef">NoteRef</a>&gt;, Self::<a class="associatedtype" href="trait.InputSource.html#associatedtype.Error" title="type zcash_client_backend::data_api::InputSource::Error">Error</a>&gt;</h4></section></summary><div class="docblock"><p>Returns a list of spendable notes sufficient to cover the specified target value, if
possible. Only spendable notes corresponding to the specified shielded protocol will
be included.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.get_account_metadata" class="method"><a class="src rightside" href="../../src/zcash_client_backend/data_api.rs.html#1219-1224">Source</a><h4 class="code-header">fn <a href="#tymethod.get_account_metadata" class="fn">get_account_metadata</a>(
&amp;self,
account: Self::<a class="associatedtype" href="trait.InputSource.html#associatedtype.AccountId" title="type zcash_client_backend::data_api::InputSource::AccountId">AccountId</a>,
selector: &amp;<a class="enum" href="enum.NoteFilter.html" title="enum zcash_client_backend::data_api::NoteFilter">NoteFilter</a>,
exclude: &amp;[Self::<a class="associatedtype" href="trait.InputSource.html#associatedtype.NoteRef" title="type zcash_client_backend::data_api::InputSource::NoteRef">NoteRef</a>],
) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="struct.AccountMeta.html" title="struct zcash_client_backend::data_api::AccountMeta">AccountMeta</a>, Self::<a class="associatedtype" href="trait.InputSource.html#associatedtype.Error" title="type zcash_client_backend::data_api::InputSource::Error">Error</a>&gt;</h4></section></summary><div class="docblock"><p>Returns metadata describing the structure of the wallet for the specified account.</p>
<p>The returned metadata value must exclude:</p>
<ul>
<li>spent notes;</li>
<li>unspent notes excluded by the provided selector;</li>
<li>unspent notes identified in the given <code>exclude</code> list.</li>
</ul>
<p>Implementations of this method may limit the complexity of supported queries. Such
limitations should be clearly documented for the implementing type.</p>
</div></details></div><h2 id="provided-methods" class="section-header">Provided Methods<a href="#provided-methods" class="anchor">§</a></h2><div class="methods"><details class="toggle method-toggle" open><summary><section id="method.get_unspent_transparent_output" class="method"><a class="src rightside" href="../../src/zcash_client_backend/data_api.rs.html#1231-1236">Source</a><h4 class="code-header">fn <a href="#method.get_unspent_transparent_output" class="fn">get_unspent_transparent_output</a>(
&amp;self,
_outpoint: &amp;OutPoint,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="../wallet/struct.WalletTransparentOutput.html" title="struct zcash_client_backend::wallet::WalletTransparentOutput">WalletTransparentOutput</a>&gt;, Self::<a class="associatedtype" href="trait.InputSource.html#associatedtype.Error" title="type zcash_client_backend::data_api::InputSource::Error">Error</a>&gt;</h4></section><span class="item-info"><div class="stab portability">Available on <strong>crate feature <code>transparent-inputs</code></strong> only.</div></span></summary><div class="docblock"><p>Fetches the transparent output corresponding to the provided <code>outpoint</code>.</p>
<p>Returns <code>Ok(None)</code> if the UTXO is not known to belong to the wallet or is not
spendable as of the chain tip height.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.get_spendable_transparent_outputs" class="method"><a class="src rightside" href="../../src/zcash_client_backend/data_api.rs.html#1247-1254">Source</a><h4 class="code-header">fn <a href="#method.get_spendable_transparent_outputs" class="fn">get_spendable_transparent_outputs</a>(
&amp;self,
_address: &amp;TransparentAddress,
_target_height: BlockHeight,
_min_confirmations: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../wallet/struct.WalletTransparentOutput.html" title="struct zcash_client_backend::wallet::WalletTransparentOutput">WalletTransparentOutput</a>&gt;, Self::<a class="associatedtype" href="trait.InputSource.html#associatedtype.Error" title="type zcash_client_backend::data_api::InputSource::Error">Error</a>&gt;</h4></section><span class="item-info"><div class="stab portability">Available on <strong>crate feature <code>transparent-inputs</code></strong> only.</div></span></summary><div class="docblock"><p>Returns the list of spendable transparent outputs received by this wallet at <code>address</code>
such that, at height <code>target_height</code>:</p>
<ul>
<li>the transaction that produced the output had or will have at least <code>min_confirmations</code>
confirmations; and</li>
<li>the output is unspent as of the current chain tip.</li>
</ul>
<p>An output that is potentially spent by an unmined transaction in the mempool is excluded
iff the spending transaction will not be expired at <code>target_height</code>.</p>
</div></details></div><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"><details class="toggle implementors-toggle"><summary><section id="impl-InputSource-for-MockWalletDb" class="impl"><a class="src rightside" href="../../src/zcash_client_backend/data_api/testing.rs.html#2481-2514">Source</a><a href="#impl-InputSource-for-MockWalletDb" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.InputSource.html" title="trait zcash_client_backend::data_api::InputSource">InputSource</a> for <a class="struct" href="testing/struct.MockWalletDb.html" title="struct zcash_client_backend::data_api::testing::MockWalletDb">MockWalletDb</a></h3><span class="item-info"><div class="stab portability">Available on <strong>crate feature <code>test-dependencies</code></strong> only.</div></span></section></summary><div class="impl-items"><section id="associatedtype.Error-1" class="associatedtype trait-impl"><a class="src rightside" href="../../src/zcash_client_backend/data_api/testing.rs.html#2482">Source</a><a href="#associatedtype.Error-1" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a></h4></section><section id="associatedtype.NoteRef-1" class="associatedtype trait-impl"><a class="src rightside" href="../../src/zcash_client_backend/data_api/testing.rs.html#2483">Source</a><a href="#associatedtype.NoteRef-1" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.NoteRef" class="associatedtype">NoteRef</a> = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></h4></section><section id="associatedtype.AccountId-1" class="associatedtype trait-impl"><a class="src rightside" href="../../src/zcash_client_backend/data_api/testing.rs.html#2484">Source</a><a href="#associatedtype.AccountId-1" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.AccountId" class="associatedtype">AccountId</a> = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></h4></section></div></details></div><script src="../../trait.impl/zcash_client_backend/data_api/trait.InputSource.js" async></script></section></div></main></body></html>