chat_proto/gen/rust/src/logoschat/reliability/logoschat.reliability.rs
2026-01-09 10:12:15 +08:00

33 lines
1.3 KiB
Rust

// @generated
// This file is @generated by prost-build.
// /////////////////////////////////////////////////////////////////////////////
// SDS Payloads
// /////////////////////////////////////////////////////////////////////////////
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct HistoryEntry {
/// Unique identifier of the SDS message, as defined in `Message`
#[prost(string, tag="1")]
pub message_id: ::prost::alloc::string::String,
/// Optional information to help remote parties retrieve this SDS
#[prost(bytes="bytes", tag="2")]
pub retrieval_hint: ::prost::bytes::Bytes,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ReliablePayload {
#[prost(string, tag="2")]
pub message_id: ::prost::alloc::string::String,
#[prost(string, tag="3")]
pub channel_id: ::prost::alloc::string::String,
#[prost(int32, tag="10")]
pub lamport_timestamp: i32,
#[prost(message, repeated, tag="11")]
pub causal_history: ::prost::alloc::vec::Vec<HistoryEntry>,
#[prost(bytes="bytes", tag="12")]
pub bloom_filter: ::prost::bytes::Bytes,
/// Optional field causes errors in nim protobuf generation. Removing for now as optional is implied anways.
#[prost(bytes="bytes", tag="20")]
pub content: ::prost::bytes::Bytes,
}
// @@protoc_insertion_point(module)