Struct bee_rest_api::types::dtos::MilestonePayloadDto [−][src]
pub struct MilestonePayloadDto {
pub kind: u32,
pub index: u32,
pub timestamp: u64,
pub parents: Vec<String>,
pub inclusion_merkle_proof: String,
pub next_pow_score: u32,
pub next_pow_score_milestone_index: u32,
pub public_keys: Vec<String>,
pub receipt: Option<PayloadDto>,
pub signatures: Vec<String>,
}
Expand description
The payload type to define a milestone.
Fields
kind: u32
index: u32
timestamp: u64
parents: Vec<String>
inclusion_merkle_proof: String
next_pow_score: u32
next_pow_score_milestone_index: u32
public_keys: Vec<String>
receipt: Option<PayloadDto>
signatures: Vec<String>
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
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for MilestonePayloadDto
impl Send for MilestonePayloadDto
impl Sync for MilestonePayloadDto
impl Unpin for MilestonePayloadDto
impl UnwindSafe for MilestonePayloadDto
Blanket Implementations
Mutably borrows from an owned value. Read more