1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
use crate::common::{ConnectionId, Destination, Map};
use serde::{Deserialize, Serialize};
/// Information about a specific connection
#[derive(Clone, Debug, PartialEq, Eq, Serialize, Deserialize)]
pub struct ConnectionInfo {
/// Connection's id
pub id: ConnectionId,
/// Destination with which this connection is associated
pub destination: Destination,
/// Additional options associated with this connection
pub options: Map,
}