// SPDX-License-Identifier: Apache-2.0
//! `BatchEdge`: one edge in an `EdgePutBatch` / `EdgeDeleteBatch`.
use Surrogate;
/// One edge in an `EdgePutBatch` / `EdgeDeleteBatch`.
///
/// `src_surrogate` / `dst_surrogate` carry the global row identity for the
/// edge endpoints (resolved at construction time via the surrogate assigner).
/// `Surrogate::ZERO` is used in test fixtures and on in-memory paths where
/// no catalog is wired; production paths always populate real surrogates.