pub struct OutputsOptions {
pub include_spent: bool,
pub output_type: Option<OutputType>,
}
Expand description
The outputs query options.
Fields§
§include_spent: bool
Whether the query should include spent outputs or not.
output_type: Option<OutputType>
The output type filter.
Trait Implementations§
Source§impl Clone for OutputsOptions
impl Clone for OutputsOptions
Source§fn clone(&self) -> OutputsOptions
fn clone(&self) -> OutputsOptions
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Default for OutputsOptions
impl Default for OutputsOptions
Source§fn default() -> OutputsOptions
fn default() -> OutputsOptions
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for OutputsOptions
impl<'de> Deserialize<'de> for OutputsOptions
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
Auto Trait Implementations§
impl Freeze for OutputsOptions
impl RefUnwindSafe for OutputsOptions
impl Send for OutputsOptions
impl Sync for OutputsOptions
impl Unpin for OutputsOptions
impl UnwindSafe for OutputsOptions
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