Struct twilight_http::request::channel::FollowNewsChannel
source · [−]pub struct FollowNewsChannel<'a> { /* private fields */ }
Expand description
Follow a news channel by Id<ChannelMarker>
s.
Implementations
sourceimpl<'a> FollowNewsChannel<'a>
impl<'a> FollowNewsChannel<'a>
sourcepub fn exec(self) -> ResponseFuture<FollowedChannel>ⓘNotable traits for ResponseFuture<T>impl<T: Unpin> Future for ResponseFuture<T> type Output = Result<Response<T>, Error>;
pub fn exec(self) -> ResponseFuture<FollowedChannel>ⓘ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
sourceimpl TryIntoRequest for FollowNewsChannel<'_>
impl TryIntoRequest for FollowNewsChannel<'_>
Auto Trait Implementations
impl<'a> !RefUnwindSafe for FollowNewsChannel<'a>
impl<'a> Send for FollowNewsChannel<'a>
impl<'a> Sync for FollowNewsChannel<'a>
impl<'a> Unpin for FollowNewsChannel<'a>
impl<'a> !UnwindSafe for FollowNewsChannel<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more