pub struct TransactionGroupOptions { /* private fields */ }Available on crate feature
js only.Expand description
A JS version transaction group options.
Trait Implementations§
Source§impl Debug for TransactionGroupOptions
impl Debug for TransactionGroupOptions
Source§impl Default for TransactionGroupOptions
impl Default for TransactionGroupOptions
Source§fn default() -> TransactionGroupOptions
fn default() -> TransactionGroupOptions
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TransactionGroupOptions
impl<'de> Deserialize<'de> for TransactionGroupOptions
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<'a> From<&'a TransactionGroupOptions> for TransactionGroupOptions
impl<'a> From<&'a TransactionGroupOptions> for TransactionGroupOptions
Source§fn from(value: &'a TransactionGroupOptions) -> Self
fn from(value: &'a TransactionGroupOptions) -> Self
Converts to this type from the input type.
Source§impl FromWasmAbi for TransactionGroupOptionswhere
Self: DeserializeOwned,
impl FromWasmAbi for TransactionGroupOptionswhere
Self: DeserializeOwned,
Source§impl OptionFromWasmAbi for TransactionGroupOptionswhere
Self: DeserializeOwned,
impl OptionFromWasmAbi for TransactionGroupOptionswhere
Self: DeserializeOwned,
Source§impl RefFromWasmAbi for TransactionGroupOptionswhere
Self: DeserializeOwned,
impl RefFromWasmAbi for TransactionGroupOptionswhere
Self: DeserializeOwned,
Source§type Abi = <JsType as RefFromWasmAbi>::Abi
type Abi = <JsType as RefFromWasmAbi>::Abi
The Wasm ABI type references to
Self are recovered from.Source§type Anchor = SelfOwner<TransactionGroupOptions>
type Anchor = SelfOwner<TransactionGroupOptions>
The type that holds the reference to
Self for the duration of the
invocation of the function that has an &Self parameter. This is
required to ensure that the lifetimes don’t persist beyond one function
call, and so that they remain anonymous.Source§impl Serialize for TransactionGroupOptions
impl Serialize for TransactionGroupOptions
Source§impl Tsify for TransactionGroupOptions
impl Tsify for TransactionGroupOptions
const DECL: &'static str = "/**\n * A JS version transaction group options.\n */\nexport interface TransactionGroupOptions {\n max_transaction_size?: number | undefined;\n max_instructions_per_tx?: number | undefined;\n luts?: Map<StringPubkey, StringPubkey[]>;\n memo?: string | undefined;\n}"
const SERIALIZATION_CONFIG: SerializationConfig
fn into_js(&self) -> Result<Self::JsType, Error>where
Self: Serialize,
fn from_js<T>(js: T) -> Result<Self, Error>
Source§impl VectorFromWasmAbi for TransactionGroupOptionswhere
Self: DeserializeOwned,
impl VectorFromWasmAbi for TransactionGroupOptionswhere
Self: DeserializeOwned,
type Abi = <JsType as VectorFromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[Self]>
Source§impl WasmDescribeVector for TransactionGroupOptions
impl WasmDescribeVector for TransactionGroupOptions
Auto Trait Implementations§
impl Freeze for TransactionGroupOptions
impl RefUnwindSafe for TransactionGroupOptions
impl Send for TransactionGroupOptions
impl Sync for TransactionGroupOptions
impl Unpin for TransactionGroupOptions
impl UnwindSafe for TransactionGroupOptions
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§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> 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