pub struct ChannelEditPatch {
pub name: Option<String>,
pub description: Option<String>,
pub icon: Option<AttachmentId>,
pub remove: Option<ChannelField>,
}Expand description
A patch to a channel
Fields§
§name: Option<String>§description: Option<String>§icon: Option<AttachmentId>§remove: Option<ChannelField>Trait Implementations§
Source§impl Clone for ChannelEditPatch
impl Clone for ChannelEditPatch
Source§fn clone(&self) -> ChannelEditPatch
fn clone(&self) -> ChannelEditPatch
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 ChannelEditPatch
impl Debug for ChannelEditPatch
Source§impl Hash for ChannelEditPatch
impl Hash for ChannelEditPatch
Source§impl Ord for ChannelEditPatch
impl Ord for ChannelEditPatch
Source§fn cmp(&self, other: &ChannelEditPatch) -> Ordering
fn cmp(&self, other: &ChannelEditPatch) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ChannelEditPatch
impl PartialEq for ChannelEditPatch
Source§impl PartialOrd for ChannelEditPatch
impl PartialOrd for ChannelEditPatch
Source§impl Serialize for ChannelEditPatch
impl Serialize for ChannelEditPatch
impl Eq for ChannelEditPatch
impl StructuralPartialEq for ChannelEditPatch
Auto Trait Implementations§
impl Freeze for ChannelEditPatch
impl RefUnwindSafe for ChannelEditPatch
impl Send for ChannelEditPatch
impl Sync for ChannelEditPatch
impl Unpin for ChannelEditPatch
impl UnwindSafe for ChannelEditPatch
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