forked from jmug/stoatchat
Run rust fmt.
This commit is contained in:
@@ -1,18 +1,18 @@
|
||||
use serde::{ Deserialize, Serialize };
|
||||
use serde::{Deserialize, Serialize};
|
||||
|
||||
#[derive(Serialize, Deserialize, Debug)]
|
||||
pub struct Channel {
|
||||
#[serde(rename = "_id")]
|
||||
pub id: String,
|
||||
#[serde(rename = "type")]
|
||||
pub channel_type: u8,
|
||||
pub channel_type: u8,
|
||||
|
||||
pub last_message: Option<String>,
|
||||
|
||||
// for Direct Messages
|
||||
pub recipients: Option<Vec<String>>,
|
||||
pub last_message: Option<String>,
|
||||
|
||||
// for Direct Messages
|
||||
pub recipients: Option<Vec<String>>,
|
||||
pub active: Option<bool>,
|
||||
|
||||
|
||||
// for Guilds
|
||||
pub name: Option<String>,
|
||||
|
||||
|
||||
Reference in New Issue
Block a user