Struct saito_rust::golden_ticket::GoldenTicket [−][src]
pub struct GoldenTicket { /* fields omitted */ }
Implementations
pub fn generate_solution(
previous_block_hash: SaitoHash,
random_bytes: SaitoHash,
publickey: SaitoPublicKey
) -> SaitoHash
pub fn serialize_for_transaction(&self) -> Vec<u8>ⓘ
Trait Implementations
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
Auto Trait Implementations
impl RefUnwindSafe for GoldenTicket
impl Send for GoldenTicket
impl Sync for GoldenTicket
impl Unpin for GoldenTicket
impl UnwindSafe for GoldenTicket
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more