From 0e5f09b2bd05690f3d28f7076629031fcc2cc6e6 Mon Sep 17 00:00:00 2001 From: cel 🌸 Date: Thu, 2 Jan 2025 17:48:12 +0000 Subject: WIP: client --- stanza/src/roster.rs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'stanza/src/roster.rs') diff --git a/stanza/src/roster.rs b/stanza/src/roster.rs index b49fcc3..9209fad 100644 --- a/stanza/src/roster.rs +++ b/stanza/src/roster.rs @@ -8,6 +8,7 @@ use peanuts::{ pub const XMLNS: &str = "jabber:iq:roster"; +#[derive(Debug, Clone)] pub struct Query { ver: Option, items: Vec, @@ -33,7 +34,7 @@ impl IntoElement for Query { } } -#[derive(Clone)] +#[derive(Clone, Debug)] pub struct Item { approved: Option, ask: bool, @@ -95,7 +96,7 @@ impl IntoElement for Item { } } -#[derive(Default, Clone, Copy)] +#[derive(Default, Clone, Copy, Debug)] pub enum Subscription { Both, From, @@ -132,7 +133,7 @@ impl ToString for Subscription { } } -#[derive(Clone)] +#[derive(Clone, Debug)] pub struct Group(Option); impl FromElement for Group { -- cgit