|
|
@ -31,11 +31,10 @@ impl Default for Version { |
|
|
}
|
|
|
}
|
|
|
|
|
|
|
|
|
/// Specifies options for a new `Client`.
|
|
|
/// Specifies options for a new `Client`.
|
|
|
#[derive(Default)]
|
|
|
|
|
|
struct ClientOptions {
|
|
|
|
|
|
user_name: String,
|
|
|
|
|
|
password: String,
|
|
|
|
|
|
version: Version,
|
|
|
|
|
|
|
|
|
pub struct ClientOptions {
|
|
|
|
|
|
pub user_name: String,
|
|
|
|
|
|
pub password: String,
|
|
|
|
|
|
pub version: Version,
|
|
|
}
|
|
|
}
|
|
|
|
|
|
|
|
|
/// A client for the client-server protocol.
|
|
|
/// A client for the client-server protocol.
|
|
|
|