pub struct GetVtxosRequest {
pub after: Option<String>,
pub before: Option<String>,
pub outpoints: Option<Vec<String>>,
pub page: Option<IndexerPageRequest>,
pub pending_only: Option<bool>,
pub recoverable_only: Option<bool>,
pub scripts: Option<Vec<String>>,
pub spendable_only: Option<bool>,
pub spent_only: Option<bool>,
}Fields§
§after: Option<String>Include only vtxos with last update after the given unix time in milliseconds. A value of 0 means no lower bound.
before: Option<String>Include only vtxos with last update before the given unix time in milliseconds, greater value than the after when specified. A value of 0 means no upper bound.
outpoints: Option<Vec<String>>Or specify a list of vtxo outpoints. The 2 filters are mutually exclusive.
page: Option<IndexerPageRequest>§pending_only: Option<bool>Include only spent vtxos that are not finalized.
recoverable_only: Option<bool>Retrieve only recoverable vtxos (notes, subdust or swept vtxos). The 3 filters are mutually exclusive,
scripts: Option<Vec<String>>Either specify a list of vtxo scripts.
spendable_only: Option<bool>Retrieve only spendable vtxos
spent_only: Option<bool>Retrieve only spent vtxos.
Implementations§
Source§impl GetVtxosRequest
impl GetVtxosRequest
pub fn new() -> GetVtxosRequest
Trait Implementations§
Source§impl Clone for GetVtxosRequest
impl Clone for GetVtxosRequest
Source§fn clone(&self) -> GetVtxosRequest
fn clone(&self) -> GetVtxosRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GetVtxosRequest
impl Debug for GetVtxosRequest
Source§impl Default for GetVtxosRequest
impl Default for GetVtxosRequest
Source§fn default() -> GetVtxosRequest
fn default() -> GetVtxosRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GetVtxosRequest
impl<'de> Deserialize<'de> for GetVtxosRequest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for GetVtxosRequest
impl PartialEq for GetVtxosRequest
Source§fn eq(&self, other: &GetVtxosRequest) -> bool
fn eq(&self, other: &GetVtxosRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for GetVtxosRequest
impl Serialize for GetVtxosRequest
impl StructuralPartialEq for GetVtxosRequest
Auto Trait Implementations§
impl Freeze for GetVtxosRequest
impl RefUnwindSafe for GetVtxosRequest
impl Send for GetVtxosRequest
impl Sync for GetVtxosRequest
impl Unpin for GetVtxosRequest
impl UnsafeUnpin for GetVtxosRequest
impl UnwindSafe for GetVtxosRequest
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more