pub struct SingletonPuzzle {
pub launcher_id: Bytes32,
pub inner_puzzle: Puzzle,
}
Fields§
§launcher_id: Bytes32
§inner_puzzle: Puzzle
Implementations§
Source§impl SingletonPuzzle
impl SingletonPuzzle
pub fn parse( allocator: &Allocator, puzzle: &Puzzle, ) -> Result<Option<SingletonPuzzle>, ParseError>
pub fn lineage_proof(&self, parent_coin: Coin) -> LineageProof
Trait Implementations§
Source§impl Clone for SingletonPuzzle
impl Clone for SingletonPuzzle
Source§fn clone(&self) -> SingletonPuzzle
fn clone(&self) -> SingletonPuzzle
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 SingletonPuzzle
impl Debug for SingletonPuzzle
impl Copy for SingletonPuzzle
Auto Trait Implementations§
impl Freeze for SingletonPuzzle
impl RefUnwindSafe for SingletonPuzzle
impl Send for SingletonPuzzle
impl Sync for SingletonPuzzle
impl Unpin for SingletonPuzzle
impl UnwindSafe for SingletonPuzzle
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