Struct twilight_http::request::user::CreatePrivateChannel
source · [−]pub struct CreatePrivateChannel<'a> { /* private fields */ }
Expand description
Create a DM channel with a user.
Implementations
sourceimpl<'a> CreatePrivateChannel<'a>
impl<'a> CreatePrivateChannel<'a>
pub fn exec(self) -> ResponseFuture<Channel>ⓘNotable traits for ResponseFuture<T>impl<T: Unpin> Future for ResponseFuture<T> type Output = Result<Response<T>, Error>;
Trait Implementations
sourceimpl TryIntoRequest for CreatePrivateChannel<'_>
impl TryIntoRequest for CreatePrivateChannel<'_>
Auto Trait Implementations
impl<'a> !RefUnwindSafe for CreatePrivateChannel<'a>
impl<'a> Send for CreatePrivateChannel<'a>
impl<'a> Sync for CreatePrivateChannel<'a>
impl<'a> Unpin for CreatePrivateChannel<'a>
impl<'a> !UnwindSafe for CreatePrivateChannel<'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