Struct holochain_zome_types::query::AgentActivity [−][src]
pub struct AgentActivity {
pub valid_activity: Vec<(u32, HeaderHash)>,
pub rejected_activity: Vec<(u32, HeaderHash)>,
pub status: ChainStatus,
pub highest_observed: Option<HighestObserved>,
pub warrants: Vec<Warrant>,
}
Expand description
An agents chain elements returned from a agent_activity_query
Fields
valid_activity: Vec<(u32, HeaderHash)>
Valid headers on this chain.
rejected_activity: Vec<(u32, HeaderHash)>
Rejected headers on this chain.
status: ChainStatus
The status of this chain.
highest_observed: Option<HighestObserved>
The highest chain header that has been observed by this authority.
warrants: Vec<Warrant>
Warrants about this AgentActivity. Placeholder for future.
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
Performs the conversion.
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
Performs the conversion.
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for AgentActivity
impl Send for AgentActivity
impl Sync for AgentActivity
impl Unpin for AgentActivity
impl UnwindSafe for AgentActivity
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more