pub struct EditChannelData {
pub name: Option<String>,
pub description: Option<String>,
pub owner: Option<String>,
pub icon: Option<String>,
pub nsfw: Option<bool>,
pub remove: Option<Vec<FieldsChannel>>,
}Expand description
Edit channel data
Fields§
§name: Option<String>Channel name
description: Option<String>Channel description
owner: Option<String>Group owner
icon: Option<String>Icon attachment ID
nsfw: Option<bool>Whether this channel is age-restricted
remove: Option<Vec<FieldsChannel>>Fields to remove
Trait Implementations§
Source§impl Clone for EditChannelData
impl Clone for EditChannelData
Source§fn clone(&self) -> EditChannelData
fn clone(&self) -> EditChannelData
Returns a duplicate 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 EditChannelData
impl Debug for EditChannelData
Source§impl Default for EditChannelData
impl Default for EditChannelData
Source§fn default() -> EditChannelData
fn default() -> EditChannelData
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for EditChannelData
impl RefUnwindSafe for EditChannelData
impl Send for EditChannelData
impl Sync for EditChannelData
impl Unpin for EditChannelData
impl UnwindSafe for EditChannelData
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