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