pub struct TimegraphData {
pub collection: String,
pub task_id: u64,
pub task_cycle: u64,
pub target_block_number: u64,
pub timechain_block_number: u64,
pub shard_id: u64,
pub signature: [u8; 64],
pub data: Vec<String>,
}Fields§
§collection: Stringcollection hashId
task_id: u64task associated with data
task_cycle: u64for repeated task it’s incremented on every run
target_block_number: u64target network block number
timechain_block_number: u64time-chain block number
shard_id: u64Shard identifier
signature: [u8; 64]TSS signature
data: Vec<String>data to add into collection
Trait Implementations§
Source§impl Clone for TimegraphData
impl Clone for TimegraphData
Source§fn clone(&self) -> TimegraphData
fn clone(&self) -> TimegraphData
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for TimegraphData
impl RefUnwindSafe for TimegraphData
impl Send for TimegraphData
impl Sync for TimegraphData
impl Unpin for TimegraphData
impl UnwindSafe for TimegraphData
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more