pub struct GhostChainSync {
pub start: SaitoHash,
pub prehashes: Vec<SaitoHash>,
pub previous_block_hashes: Vec<SaitoHash>,
pub block_ids: Vec<u64>,
pub block_ts: Vec<Timestamp>,
pub txs: Vec<bool>,
pub gts: Vec<bool>,
}
Fields§
§start: SaitoHash
§prehashes: Vec<SaitoHash>
§previous_block_hashes: Vec<SaitoHash>
§block_ids: Vec<u64>
§block_ts: Vec<Timestamp>
§txs: Vec<bool>
§gts: Vec<bool>
Implementations§
Source§impl GhostChainSync
impl GhostChainSync
pub fn serialize(&self) -> Vec<u8> ⓘ
pub fn deserialize(buffer: Vec<u8>) -> GhostChainSync
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GhostChainSync
impl RefUnwindSafe for GhostChainSync
impl Send for GhostChainSync
impl Sync for GhostChainSync
impl Unpin for GhostChainSync
impl UnwindSafe for GhostChainSync
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