summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbold <bold@cryptoguru.com>2019-12-27 08:03:27 +0100
committerWez Furlong <wez@wezfurlong.org>2020-01-18 08:40:18 -0800
commitacc3c48d3530af233b5ea213cb8fe26fc15bc74e (patch)
tree338c6a4023152eadcc2d2fe899afba540feff0d8
parent73cda39f9e56da5ded659d7704c235fff6941346 (diff)
downloadssh2-rs-acc3c48d3530af233b5ea213cb8fe26fc15bc74e.zip
derive Debug and Clone for PtyModes
-rw-r--r--src/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs
index a5d5a48..23da2f7 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -455,6 +455,7 @@ impl ExtensiblePtyModeOpcode {
/// Encodes modes for Pty allocation requests.
/// The modes documented in <https://tools.ietf.org/html/rfc4250#section-4.5>
/// are supported.
+#[derive(Debug, Clone)]
pub struct PtyModes {
data: Vec<u8>,
}