pub struct CreatePrivateChannel<'a> { /* private fields */ }
Expand description
Create a DM channel with a user.
Trait Implementations§
source§impl IntoFuture for CreatePrivateChannel<'_>
impl IntoFuture for CreatePrivateChannel<'_>
source§type Output = Result<Response<Channel>, Error>
type Output = Result<Response<Channel>, Error>
The output that the future will produce on completion.
source§type IntoFuture = ResponseFuture<Channel>
type IntoFuture = ResponseFuture<Channel>
Which kind of future are we turning this into?
source§fn into_future(self) -> Self::IntoFuture
fn into_future(self) -> Self::IntoFuture
Creates a future from a value. Read more
source§impl TryIntoRequest for CreatePrivateChannel<'_>
impl TryIntoRequest for CreatePrivateChannel<'_>
Auto Trait Implementations§
impl<'a> Freeze for CreatePrivateChannel<'a>
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§
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