pub struct UpdateGuildChannelPositionsEntry {
pub id: Id<ChannelMarker>,
pub position: Option<u64>,
pub parent_id: Option<Id<ChannelMarker>>,
pub preceding_sibling_id: Option<Id<ChannelMarker>>,
pub sync_permissions: Option<bool>,
}Fields§
§id: Id<ChannelMarker>§position: Option<u64>§parent_id: Option<Id<ChannelMarker>>New parent category id.
preceding_sibling_id: Option<Id<ChannelMarker>>ID of the sibling channel that should directly precede this channel after reordering.
sync_permissions: Option<bool>Whether to sync permissions with the new parent.
Implementations§
Source§impl UpdateGuildChannelPositionsEntry
impl UpdateGuildChannelPositionsEntry
Sourcepub fn builder() -> UpdateGuildChannelPositionsEntryBuilder
pub fn builder() -> UpdateGuildChannelPositionsEntryBuilder
Create an instance of UpdateGuildChannelPositionsEntry using the builder syntax
Trait Implementations§
Source§impl Clone for UpdateGuildChannelPositionsEntry
impl Clone for UpdateGuildChannelPositionsEntry
Source§fn clone(&self) -> UpdateGuildChannelPositionsEntry
fn clone(&self) -> UpdateGuildChannelPositionsEntry
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 moreimpl Copy for UpdateGuildChannelPositionsEntry
Auto Trait Implementations§
impl Freeze for UpdateGuildChannelPositionsEntry
impl RefUnwindSafe for UpdateGuildChannelPositionsEntry
impl Send for UpdateGuildChannelPositionsEntry
impl Sync for UpdateGuildChannelPositionsEntry
impl Unpin for UpdateGuildChannelPositionsEntry
impl UnsafeUnpin for UpdateGuildChannelPositionsEntry
impl UnwindSafe for UpdateGuildChannelPositionsEntry
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