pub struct EditChannelPositionPayload {
pub id: u64,
pub position: u16,
pub parent_id: Maybe<u64>,
}Expand description
The payload used per channel to specify its new position data.
Fields§
§id: u64The ID of the channel to modify.
position: u16The new position of the channel.
parent_id: Maybe<u64>The new parent category of the channel. If left blank, the scope will not be changed.
If set to Null, the channel will be moved to the root of the channel list.
Trait Implementations§
Source§impl Clone for EditChannelPositionPayload
impl Clone for EditChannelPositionPayload
Source§fn clone(&self) -> EditChannelPositionPayload
fn clone(&self) -> EditChannelPositionPayload
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 EditChannelPositionPayload
impl Debug for EditChannelPositionPayload
Source§impl<'de> Deserialize<'de> for EditChannelPositionPayload
impl<'de> Deserialize<'de> for EditChannelPositionPayload
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for EditChannelPositionPayload
impl RefUnwindSafe for EditChannelPositionPayload
impl Send for EditChannelPositionPayload
impl Sync for EditChannelPositionPayload
impl Unpin for EditChannelPositionPayload
impl UnwindSafe for EditChannelPositionPayload
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