aboutsummaryrefslogtreecommitdiffstats
path: root/src/stanza/stream_error.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/stanza/stream_error.rs')
-rw-r--r--src/stanza/stream_error.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/stanza/stream_error.rs b/src/stanza/stream_error.rs
index 37db8a1..5ae04a6 100644
--- a/src/stanza/stream_error.rs
+++ b/src/stanza/stream_error.rs
@@ -5,7 +5,7 @@ use peanuts::{
pub const XMLNS: &str = "urn:ietf:params:xml:ns:xmpp-streams";
-#[derive(Clone)]
+#[derive(Clone, Debug)]
pub enum Error {
BadFormat,
BadNamespacePrefix,
@@ -110,7 +110,7 @@ impl IntoElement for Error {
}
}
-#[derive(Clone)]
+#[derive(Clone, Debug)]
pub struct Text {
text: Option<String>,
lang: Option<String>,