pub enum SolanaFunctionResult {
V0(SolanaFunctionResultV0),
V1(SolanaFunctionResultV1),
}
Variants§
Implementations§
source§impl SolanaFunctionResult
impl SolanaFunctionResult
pub fn serialized_tx(&self) -> Vec<u8>
Trait Implementations§
source§impl Clone for SolanaFunctionResult
impl Clone for SolanaFunctionResult
source§fn clone(&self) -> SolanaFunctionResult
fn clone(&self) -> SolanaFunctionResult
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 SolanaFunctionResult
impl Debug for SolanaFunctionResult
source§impl Default for SolanaFunctionResult
impl Default for SolanaFunctionResult
source§impl<'de> Deserialize<'de> for SolanaFunctionResult
impl<'de> Deserialize<'de> for SolanaFunctionResult
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 From<LegacySolanaFunctionResult> for SolanaFunctionResult
impl From<LegacySolanaFunctionResult> for SolanaFunctionResult
source§fn from(item: LegacySolanaFunctionResult) -> SolanaFunctionResult
fn from(item: LegacySolanaFunctionResult) -> SolanaFunctionResult
Converts to this type from the input type.
source§impl PartialEq for SolanaFunctionResult
impl PartialEq for SolanaFunctionResult
source§fn eq(&self, other: &SolanaFunctionResult) -> bool
fn eq(&self, other: &SolanaFunctionResult) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SolanaFunctionResult
impl Serialize for SolanaFunctionResult
impl StructuralPartialEq for SolanaFunctionResult
Auto Trait Implementations§
impl RefUnwindSafe for SolanaFunctionResult
impl Send for SolanaFunctionResult
impl Sync for SolanaFunctionResult
impl Unpin for SolanaFunctionResult
impl UnwindSafe for SolanaFunctionResult
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