mirror of https://github.com/chipsenkbeil/distant
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
457 B
Rust
17 lines
457 B
Rust
use serde::{Deserialize, Serialize};
|
|
|
|
use crate::common::{ConnectionId, Destination, Map};
|
|
|
|
/// 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,
|
|
}
|