// =============================================================================
// Copyright (c) 2025 - 2026 Haixing Hu.
//
// SPDX-License-Identifier: Apache-2.0
//
// Licensed under the Apache License, Version 2.0.
// =============================================================================
//! Borrowed envelope used by V1 serialization.
use Serialize;
use WireShapeRef;
/// Borrowed V1 envelope emitted during serialization.
///
/// # Type Parameters
///
/// * `'a` - Lifetime of the borrowed scalar-or-collection payload.
pub