Struct hdk::prelude::HighestObserved[][src]

pub struct HighestObserved {
    pub header_seq: u32,
    pub hash: Vec<HoloHash<Header>, Global>,
}

The highest header sequence observed by this authority. This also includes the headers at this sequence. If there is more then one then there is a fork.

This type is to prevent headers being hidden by withholding the previous header.

The information is tracked at the edge of holochain before validation (but after drop checks).

Fields

header_seq: u32

The highest sequence number observed.

hash: Vec<HoloHash<Header>, Global>

Hashes of any headers claiming to be at this header sequence.

Trait Implementations

impl Clone for HighestObserved[src]

impl Debug for HighestObserved[src]

impl<'de> Deserialize<'de> for HighestObserved[src]

impl Eq for HighestObserved[src]

impl Hash for HighestObserved[src]

impl PartialEq<HighestObserved> for HighestObserved[src]

impl Serialize for HighestObserved[src]

impl StructuralEq for HighestObserved[src]

impl StructuralPartialEq for HighestObserved[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,