pub struct SetLeafArgs {
pub current_root: [u8; 32],
pub previous_leaf: [u8; 32],
pub new_leaf: [u8; 32],
pub proof_vec: Vec<[u8; 32]>,
pub index: u32,
}Expand description
Exported for Anchor / Solita Arguments structure for setting a leaf in the tree.
Fields§
§current_root: [u8; 32]§previous_leaf: [u8; 32]§new_leaf: [u8; 32]§proof_vec: Vec<[u8; 32]>§index: u32Auto Trait Implementations§
impl Freeze for SetLeafArgs
impl RefUnwindSafe for SetLeafArgs
impl Send for SetLeafArgs
impl Sync for SetLeafArgs
impl Unpin for SetLeafArgs
impl UnwindSafe for SetLeafArgs
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