pub struct GetEvent { /* private fields */ }Expand description
Request builder for getting a single event
Implementations§
Source§impl GetEvent
impl GetEvent
Sourcepub fn include_chat(self, include: bool) -> Self
pub fn include_chat(self, include: bool) -> Self
Include chat data in response
Sourcepub fn include_template(self, include: bool) -> Self
pub fn include_template(self, include: bool) -> Self
Include template data in response
Sourcepub async fn send(self) -> Result<Event, GammaError>
pub async fn send(self) -> Result<Event, GammaError>
Execute the request
Auto Trait Implementations§
impl Freeze for GetEvent
impl !RefUnwindSafe for GetEvent
impl Send for GetEvent
impl Sync for GetEvent
impl Unpin for GetEvent
impl UnsafeUnpin for GetEvent
impl !UnwindSafe for GetEvent
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