pub struct TextGraphQueryEdgesRequest {
pub graph_name: String,
pub node_id: u64,
pub edge_type: String,
pub time_start: u64,
pub time_end: u64,
pub reverse: bool,
pub conflict_policy: i32,
pub include_dissent: bool,
}Fields§
§graph_name: String§node_id: u64§edge_type: Stringempty = all types
time_start: u640 = no lower bound
time_end: u640 = no upper bound
reverse: booltrue = incoming edges
conflict_policy: i32Conflict-as-data per-request opt-in (issue #813 / #783, Phase 3b). When set
to a value other than UNSPECIFIED, the gateway runs a read-time conflict
re-order over the returned edge set: it scans contradicts edges among the
edge endpoints, groups contradictory claims into conflict sets, arbitrates
each set with this policy (PR #711), and re-orders the edges so winner edges
precede loser edges (edges have no distance, so demotion is ordering, not
re-scoring — losers are never removed). UNSPECIFIED = use the graph/env
default (off unless configured) → byte-identical to pre-#813 behaviour.
include_dissent: boolWhen true, conflict_resolutions_json includes the full per-loser detail
(reason) for every demoted edge endpoint. When false, the JSON is still
emitted for any resolved set but with the loser list collapsed to node ids
only. No effect unless conflict_policy fires.
Implementations§
Source§impl TextGraphQueryEdgesRequest
impl TextGraphQueryEdgesRequest
Sourcepub fn conflict_policy(&self) -> ConflictPolicy
pub fn conflict_policy(&self) -> ConflictPolicy
Returns the enum value of conflict_policy, or the default if the field is set to an invalid enum value.
Sourcepub fn set_conflict_policy(&mut self, value: ConflictPolicy)
pub fn set_conflict_policy(&mut self, value: ConflictPolicy)
Sets conflict_policy to the provided enum value.
Trait Implementations§
Source§impl Clone for TextGraphQueryEdgesRequest
impl Clone for TextGraphQueryEdgesRequest
Source§fn clone(&self) -> TextGraphQueryEdgesRequest
fn clone(&self) -> TextGraphQueryEdgesRequest
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 TextGraphQueryEdgesRequest
impl Debug for TextGraphQueryEdgesRequest
Source§impl Default for TextGraphQueryEdgesRequest
impl Default for TextGraphQueryEdgesRequest
Source§impl Message for TextGraphQueryEdgesRequest
impl Message for TextGraphQueryEdgesRequest
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.impl StructuralPartialEq for TextGraphQueryEdgesRequest
Auto Trait Implementations§
impl Freeze for TextGraphQueryEdgesRequest
impl RefUnwindSafe for TextGraphQueryEdgesRequest
impl Send for TextGraphQueryEdgesRequest
impl Sync for TextGraphQueryEdgesRequest
impl Unpin for TextGraphQueryEdgesRequest
impl UnsafeUnpin for TextGraphQueryEdgesRequest
impl UnwindSafe for TextGraphQueryEdgesRequest
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