pub struct BundleOptions {
pub force_one_transaction: bool,
pub max_packet_size: Option<usize>,
pub max_instructions_for_one_tx: usize,
}
Expand description
Bundle Options.
Fields§
§force_one_transaction: bool
Whether to force one transaction.
max_packet_size: Option<usize>
Max packet size.
max_instructions_for_one_tx: usize
Max number of instructions for one transaction.
Trait Implementations§
Source§impl Clone for BundleOptions
impl Clone for BundleOptions
Source§fn clone(&self) -> BundleOptions
fn clone(&self) -> BundleOptions
Returns a copy 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 BundleOptions
impl Debug for BundleOptions
Source§impl Default for BundleOptions
impl Default for BundleOptions
Source§fn default() -> BundleOptions
fn default() -> BundleOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for BundleOptions
impl RefUnwindSafe for BundleOptions
impl Send for BundleOptions
impl Sync for BundleOptions
impl Unpin for BundleOptions
impl UnwindSafe for BundleOptions
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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