ruvolt 0.5.0

An API wrapper for Revolt written in Rust.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use serde::Deserialize;

use crate::models::Attachment;

/// User profile.
#[derive(Debug, Clone, PartialEq, Deserialize)]
pub struct UserProfile {
    /// Profile content.
    pub content: Option<String>,
    /// Profile background.
    pub background: Option<Attachment>,
}