use crate::models;
use serde::Deserialize;
use serde::Serialize;
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct GetVtxoTreeLeavesRequest {
#[serde(rename = "batchOutpoint", skip_serializing_if = "Option::is_none")]
pub batch_outpoint: Option<models::IndexerOutpoint>,
#[serde(rename = "page", skip_serializing_if = "Option::is_none")]
pub page: Option<models::IndexerPageRequest>,
}
impl GetVtxoTreeLeavesRequest {
pub fn new() -> GetVtxoTreeLeavesRequest {
GetVtxoTreeLeavesRequest {
batch_outpoint: None,
page: None,
}
}
}