pub struct QueueElementsV2Options {
pub output_queue_start_index: Option<u64>,
pub output_queue_limit: Option<u16>,
pub output_queue_zkp_batch_size: Option<u16>,
pub input_queue_start_index: Option<u64>,
pub input_queue_limit: Option<u16>,
pub input_queue_zkp_batch_size: Option<u16>,
pub address_queue_start_index: Option<u64>,
pub address_queue_limit: Option<u16>,
pub address_queue_zkp_batch_size: Option<u16>,
}Expand description
Options for fetching queue elements (V2 with deduplicated nodes and address queue support).
Fields§
§output_queue_start_index: Option<u64>§output_queue_limit: Option<u16>§output_queue_zkp_batch_size: Option<u16>§input_queue_start_index: Option<u64>§input_queue_limit: Option<u16>§input_queue_zkp_batch_size: Option<u16>§address_queue_start_index: Option<u64>§address_queue_limit: Option<u16>§address_queue_zkp_batch_size: Option<u16>Implementations§
Source§impl QueueElementsV2Options
impl QueueElementsV2Options
pub fn new() -> Self
pub fn with_output_queue( self, start_index: Option<u64>, limit: Option<u16>, ) -> Self
pub fn with_output_queue_batch_size(self, batch_size: Option<u16>) -> Self
pub fn with_input_queue( self, start_index: Option<u64>, limit: Option<u16>, ) -> Self
pub fn with_input_queue_batch_size(self, batch_size: Option<u16>) -> Self
pub fn with_address_queue( self, start_index: Option<u64>, limit: Option<u16>, ) -> Self
pub fn with_address_queue_batch_size(self, batch_size: Option<u16>) -> Self
Trait Implementations§
Source§impl Clone for QueueElementsV2Options
impl Clone for QueueElementsV2Options
Source§fn clone(&self) -> QueueElementsV2Options
fn clone(&self) -> QueueElementsV2Options
Returns a duplicate of the value. Read more
1.0.0 · 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 QueueElementsV2Options
impl Debug for QueueElementsV2Options
Source§impl Default for QueueElementsV2Options
impl Default for QueueElementsV2Options
Source§fn default() -> QueueElementsV2Options
fn default() -> QueueElementsV2Options
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for QueueElementsV2Options
impl RefUnwindSafe for QueueElementsV2Options
impl Send for QueueElementsV2Options
impl Sync for QueueElementsV2Options
impl Unpin for QueueElementsV2Options
impl UnwindSafe for QueueElementsV2Options
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more