pub struct MerkleContextV2 {
pub cpi_context: Option<String>,
pub next_tree_context: Option<Box<TreeContextInfo>>,
pub queue: String,
pub tree: String,
pub tree_type: u16,
}
Fields§
§cpi_context: Option<String>
A Solana public key represented as a base58 string.
next_tree_context: Option<Box<TreeContextInfo>>
§queue: String
A Solana public key represented as a base58 string.
tree: String
A Solana public key represented as a base58 string.
tree_type: u16
Implementations§
Trait Implementations§
Source§impl Clone for MerkleContextV2
impl Clone for MerkleContextV2
Source§fn clone(&self) -> MerkleContextV2
fn clone(&self) -> MerkleContextV2
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 MerkleContextV2
impl Debug for MerkleContextV2
Source§impl Default for MerkleContextV2
impl Default for MerkleContextV2
Source§fn default() -> MerkleContextV2
fn default() -> MerkleContextV2
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MerkleContextV2
impl<'de> Deserialize<'de> for MerkleContextV2
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 PartialEq for MerkleContextV2
impl PartialEq for MerkleContextV2
Source§impl Serialize for MerkleContextV2
impl Serialize for MerkleContextV2
impl StructuralPartialEq for MerkleContextV2
Auto Trait Implementations§
impl Freeze for MerkleContextV2
impl RefUnwindSafe for MerkleContextV2
impl Send for MerkleContextV2
impl Sync for MerkleContextV2
impl Unpin for MerkleContextV2
impl UnwindSafe for MerkleContextV2
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