Struct rive_models::payload::CreateServerPayload
source · pub struct CreateServerPayload {
pub name: String,
pub description: Option<String>,
pub nsfw: Option<bool>,
}Expand description
Create server data
Fields§
§name: StringServer name
description: Option<String>Server description
nsfw: Option<bool>Whether this server is age-restricted
Trait Implementations§
source§impl Clone for CreateServerPayload
impl Clone for CreateServerPayload
source§fn clone(&self) -> CreateServerPayload
fn clone(&self) -> CreateServerPayload
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 CreateServerPayload
impl Debug for CreateServerPayload
source§impl Default for CreateServerPayload
impl Default for CreateServerPayload
source§fn default() -> CreateServerPayload
fn default() -> CreateServerPayload
Returns the “default value” for a type. Read more