link-common 0.5.2-rc.2

Shared Rust implementation for KalamDB link crates
Documentation
1
2
3
4
5
6
7
8
9
10
11
use serde::{Deserialize, Serialize};

/// Result of acknowledging consumed messages.
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct AckResponse {
    /// Whether the acknowledgment was successful
    pub success: bool,

    /// The offset that was acknowledged
    pub acknowledged_offset: u64,
}