Struct rive_models::data::CreateChannelData
source · pub struct CreateChannelData {
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 CreateChannelData
impl Clone for CreateChannelData
source§fn clone(&self) -> CreateChannelData
fn clone(&self) -> CreateChannelData
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 CreateChannelData
impl Debug for CreateChannelData
source§impl Default for CreateChannelData
impl Default for CreateChannelData
source§fn default() -> CreateChannelData
fn default() -> CreateChannelData
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for CreateChannelData
impl Send for CreateChannelData
impl Sync for CreateChannelData
impl Unpin for CreateChannelData
impl UnwindSafe for CreateChannelData
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more