Struct twilight_http::request::guild::update_guild_channel_positions::UpdateGuildChannelPositions
source · [−]pub struct UpdateGuildChannelPositions<'a> { /* private fields */ }
Expand description
Modify the positions of the channels.
The minimum amount of channels to modify, is a swap between two channels.
This function accepts an Iterator
of (Id<ChannelMarker>, u64)
. It also accepts
an Iterator
of Position
, which has extra fields.
Implementations
pub fn exec(self) -> ResponseFuture<EmptyBody>ⓘNotable traits for ResponseFuture<T>impl<T: Unpin> Future for ResponseFuture<T> type Output = Result<Response<T>, Error>;
pub fn exec(self) -> ResponseFuture<EmptyBody>ⓘNotable traits for ResponseFuture<T>impl<T: Unpin> Future for ResponseFuture<T> type Output = Result<Response<T>, Error>;
Notable traits for ResponseFuture<T>
impl<T: Unpin> Future for ResponseFuture<T> type Output = Result<Response<T>, Error>;
Execute the request, returning a future resolving to a Response
.
Trait Implementations
Auto Trait Implementations
impl<'a> !RefUnwindSafe for UpdateGuildChannelPositions<'a>
impl<'a> Send for UpdateGuildChannelPositions<'a>
impl<'a> Sync for UpdateGuildChannelPositions<'a>
impl<'a> Unpin for UpdateGuildChannelPositions<'a>
impl<'a> !UnwindSafe for UpdateGuildChannelPositions<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more