aleph-types 0.13.0

Definitions for the most commonly used types in the Aleph Cloud network.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use crate::channel::Channel;
use crate::item_hash::ItemHash;
use crate::message::MessageType;
use crate::message::item_type::ItemType;
use crate::timestamp::Timestamp;

#[derive(Debug, Clone)]
pub struct UnsignedMessage {
    pub message_type: MessageType,
    pub item_type: ItemType,
    pub item_content: String,
    pub item_hash: ItemHash,
    pub time: Timestamp,
    pub channel: Option<Channel>,
}