pub struct AgentStateEdgesRequest {
pub anchor_step_ids: Vec<u64>,
pub direction: String,
pub edge_type: String,
pub at_timestamp: u64,
pub window_start: u64,
pub window_end: u64,
pub bitemporal: bool,
pub as_of: u64,
pub tx_as_of: u64,
pub author_agent_id: String,
}Fields§
§anchor_step_ids: Vec<u64>Batched for the same reason as the provenance append: a traversal expands a whole BFS level at once, and one round trip per anchor would make depth × fan-out round trips out of what is one index lookup per anchor locally.
direction: String“forward” | “backward” | “both”
edge_type: Stringempty = every type
at_timestamp: u64at_timestamp > 0 selects edges valid at that instant; otherwise a
non-zero window_end selects edges overlapping [window_start, window_end];
with neither, every revision is returned.
window_start: u64§window_end: u64§bitemporal: boolBitemporal belief form (AgentBeliefQuery): when bitemporal is set the
three fields above are ignored and the server instead resolves the LATEST
believed revision of each edge at (as_of valid-time, tx_as_of
transaction-time), optionally narrowed to one author.
This cannot be done by the caller from the raw edge list: “latest revision per edge” is a reduction over the revision chain, not a per-edge predicate, and getting it wrong silently returns a superseded belief as current.
as_of: u640 = now
tx_as_of: u640 = latest known
empty = any author
Trait Implementations§
Source§impl Clone for AgentStateEdgesRequest
impl Clone for AgentStateEdgesRequest
Source§fn clone(&self) -> AgentStateEdgesRequest
fn clone(&self) -> AgentStateEdgesRequest
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for AgentStateEdgesRequest
impl Debug for AgentStateEdgesRequest
Source§impl Default for AgentStateEdgesRequest
impl Default for AgentStateEdgesRequest
Source§impl Message for AgentStateEdgesRequest
impl Message for AgentStateEdgesRequest
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self. Read moreSource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self.Source§impl PartialEq for AgentStateEdgesRequest
impl PartialEq for AgentStateEdgesRequest
impl StructuralPartialEq for AgentStateEdgesRequest
Auto Trait Implementations§
impl Freeze for AgentStateEdgesRequest
impl RefUnwindSafe for AgentStateEdgesRequest
impl Send for AgentStateEdgesRequest
impl Sync for AgentStateEdgesRequest
impl Unpin for AgentStateEdgesRequest
impl UnsafeUnpin for AgentStateEdgesRequest
impl UnwindSafe for AgentStateEdgesRequest
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request