pub struct Events { /* private fields */ }Expand description
Events namespace for event-related operations
Implementations§
Source§impl Events
impl Events
Sourcepub fn list(&self) -> ListEvents
pub fn list(&self) -> ListEvents
List events with optional filtering
Sourcepub fn get_by_slug(&self, slug: impl Into<String>) -> GetEvent
pub fn get_by_slug(&self, slug: impl Into<String>) -> GetEvent
Get an event by slug
Get related events by slug
Get tags for an event
Sourcepub fn tweet_count(
&self,
id: impl Into<String>,
) -> Request<CountResponse, GammaError>
pub fn tweet_count( &self, id: impl Into<String>, ) -> Request<CountResponse, GammaError>
Get tweet count for an event
Sourcepub fn comment_count(
&self,
id: impl Into<String>,
) -> Request<CountResponse, GammaError>
pub fn comment_count( &self, id: impl Into<String>, ) -> Request<CountResponse, GammaError>
Get comment count for an event
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Events
impl !RefUnwindSafe for Events
impl Send for Events
impl Sync for Events
impl Unpin for Events
impl UnsafeUnpin for Events
impl !UnwindSafe for Events
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