Struct rive_models::payload::EditServerPayload
source · pub struct EditServerPayload {
pub name: Option<String>,
pub description: Option<String>,
pub icon: Option<String>,
pub banner: Option<String>,
pub categories: Option<Vec<Category>>,
pub system_messages: Option<SystemMessageChannels>,
pub nsfw: Option<bool>,
pub discoverable: Option<bool>,
pub analytics: Option<bool>,
pub remove: Option<Vec<FieldsServer>>,
}Expand description
Edit server data
Fields§
§name: Option<String>Server name
description: Option<String>Server description
icon: Option<String>Attachment Id for icon
Attachment Id for banner
categories: Option<Vec<Category>>Category structure for server
system_messages: Option<SystemMessageChannels>System message configuration
nsfw: Option<bool>§discoverable: Option<bool>Whether this server is public and should show up on Revolt Discover
analytics: Option<bool>Whether analytics should be collected for this server
Must be enabled in order to show up on Revolt Discover.
remove: Option<Vec<FieldsServer>>Fields to remove from server object
Trait Implementations§
source§impl Clone for EditServerPayload
impl Clone for EditServerPayload
source§fn clone(&self) -> EditServerPayload
fn clone(&self) -> EditServerPayload
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for EditServerPayload
impl Debug for EditServerPayload
source§impl Default for EditServerPayload
impl Default for EditServerPayload
source§fn default() -> EditServerPayload
fn default() -> EditServerPayload
Returns the “default value” for a type. Read more