pub fn as_dealings(&self) -> &dkg::Dealings {
        match self {
            BlockPayload::BatchAndDealings(_, payload) => &payload,
            _ => panic!("No DKG dealings available on a summary block."),
        }
    }
/// Returns a reference to DKG dealings. Panics if called on a summary
/// payload.
Returns a reference to DKG dealings. Panics if called on a summary
payload.
Returns a reference to DKG dealings . Panics if called on a summary payload .
pub fn as_dealings(&self) -> &dkg::Dealings {
        match self {
            BlockPayload::BatchAndDealings(_, payload) => &payload,
            _ => panic!("No DKG dealings available on a summary block."),
        }
    }
pub fn as_dealings ( & self ) -> & dkg :: Dealings { match self { BlockPayload :: BatchAndDealings ( _ , payload ) => & payload , _ => panic ! ( " " ) , } }
Returns a reference to DKG dealings.
Returns a reference to DKG dealings .
&self
&self