Struct bee_rest_api::types::responses::MessageMetadataResponse [−][src]
pub struct MessageMetadataResponse {
pub message_id: String,
pub parent_message_ids: Vec<String>,
pub is_solid: bool,
pub referenced_by_milestone_index: Option<u32>,
pub milestone_index: Option<u32>,
pub ledger_inclusion_state: Option<LedgerInclusionStateDto>,
pub conflict_reason: Option<u8>,
pub should_promote: Option<bool>,
pub should_reattach: Option<bool>,
}
Expand description
Response of GET /api/v1/messages/{message_id}/metadata. Returns the metadata of a message.
Fields
message_id: String
parent_message_ids: Vec<String>
is_solid: bool
referenced_by_milestone_index: Option<u32>
milestone_index: Option<u32>
ledger_inclusion_state: Option<LedgerInclusionStateDto>
conflict_reason: Option<u8>
should_promote: Option<bool>
should_reattach: Option<bool>
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 MessageMetadataResponse
impl Send for MessageMetadataResponse
impl Sync for MessageMetadataResponse
impl Unpin for MessageMetadataResponse
impl UnwindSafe for MessageMetadataResponse
Blanket Implementations
Mutably borrows from an owned value. Read more