summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorderekdreery <rodododouk@hotmail.com>2016-04-04 11:26:02 +0100
committerderekdreery <rodododouk@hotmail.com>2016-04-04 11:26:02 +0100
commit00adc098dede09607f6d9b113a115fadb47a2daf (patch)
treebe7427bc647cd3be2d3f0cc9d410cba85c46405a
parent5a291783e8766a0ceacf32da7d1add8a291722ad (diff)
downloadssh2-rs-00adc098dede09607f6d9b113a115fadb47a2daf.zip
Allow debug print of FileStat
-rw-r--r--src/sftp.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sftp.rs b/src/sftp.rs
index 95326ee..919975b 100644
--- a/src/sftp.rs
+++ b/src/sftp.rs
@@ -31,6 +31,7 @@ pub struct File<'sftp> {
/// Metadata information about a remote file.
///
/// Fields are not necessarily all provided
+#[derive(debug)]
#[allow(missing_copy_implementations)]
pub struct FileStat {
/// File size, in bytes of the file.