pub struct RelationTraverseRequest {
pub start_entity: WireUuid,
pub relation_types: Vec<String>,
pub direction: u8,
pub max_depth: u32,
pub max_nodes: u32,
pub time_at_unix_nanos: u64,
pub include_superseded: bool,
pub request_id: WireUuid,
pub act_as: Option<ActAs>,
}Expand description
RELATION_TRAVERSE (0x0156). Multi-hop walk of the relation graph from
start_entity. direction is outgoing/incoming/both; the bounds cap the
search; time_at_unix_nanos walks the graph as it stood at a record time.
Fields§
§start_entity: WireUuid§relation_types: Vec<String>§direction: u8§max_depth: u32§max_nodes: u32§time_at_unix_nanos: u64§include_superseded: bool§request_id: WireUuid§act_as: Option<ActAs>Effective identity this traversal runs as. None (omitted on the wire)
means the op runs as the connection’s own key-bound identity. Honored
only when the connection principal holds the ACT_AS grant and the
target namespace is in its may_act allowlist.
Trait Implementations§
Source§impl Clone for RelationTraverseRequest
impl Clone for RelationTraverseRequest
Source§impl Debug for RelationTraverseRequest
impl Debug for RelationTraverseRequest
Source§impl<'de> Deserialize<'de> for RelationTraverseRequest
impl<'de> Deserialize<'de> for RelationTraverseRequest
Source§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
Source§impl PartialEq for RelationTraverseRequest
impl PartialEq for RelationTraverseRequest
Source§impl Serialize for RelationTraverseRequest
impl Serialize for RelationTraverseRequest
impl StructuralPartialEq for RelationTraverseRequest
Auto Trait Implementations§
impl Freeze for RelationTraverseRequest
impl RefUnwindSafe for RelationTraverseRequest
impl Send for RelationTraverseRequest
impl Sync for RelationTraverseRequest
impl Unpin for RelationTraverseRequest
impl UnsafeUnpin for RelationTraverseRequest
impl UnwindSafe for RelationTraverseRequest
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