From aa01d0ee9043a12721338eeb1ef2ca59966e54a4 Mon Sep 17 00:00:00 2001 From: shockrah Date: Thu, 20 Aug 2020 19:19:45 -0700 Subject: [PATCH] Channel (public) now exposes its field as public --- server/src/channels.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/server/src/channels.rs b/server/src/channels.rs index aab4c53..71d7d38 100644 --- a/server/src/channels.rs +++ b/server/src/channels.rs @@ -38,10 +38,10 @@ impl ChannelType { // Primary way of interpretting sql data on our channels table pub struct Channel { - id: u64, - name: String, - description: String, - kind: ChannelType + pub id: u64, + pub name: String, + pub description: String, + pub kind: ChannelType } #[derive(Debug)]