pub struct Response<'a> { /* private fields */ }Implementations§
Source§impl<'a> Response<'a>
impl<'a> Response<'a>
pub fn new() -> Self
pub fn say<S: Into<Say<'a>>>(self, say: S) -> Self
pub fn play<P: Into<Play<'a>>>(self, play: P) -> Self
pub fn redirect<R: Into<Redirect<'a>>>(self, redirect: R) -> Self
pub fn msg<M: Into<Msg<'a>>>(self, msg: M) -> Self
pub fn gather(self, gather: Gather<'a>) -> Self
pub fn dial<D: Into<Dial<'a>>>(self, dial: D) -> Self
pub fn hangup(self) -> Self
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Response<'a>
impl<'a> RefUnwindSafe for Response<'a>
impl<'a> Send for Response<'a>
impl<'a> Sync for Response<'a>
impl<'a> Unpin for Response<'a>
impl<'a> UnsafeUnpin for Response<'a>
impl<'a> UnwindSafe for Response<'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