pub struct Client { /* private fields */ }Implementations§
Source§impl Client
impl Client
pub fn new() -> Self
pub async fn get_featured_calendars(&self) -> Result<Root>
pub async fn list_categories(&self) -> Result<Pagination>
pub async fn list_places(&self) -> Result<Root>
pub async fn get_category_by_id<S>(&self, id: S) -> Result<Value>
pub async fn get_category_by_slug<S>(&self, slug: S) -> Result<Value>
pub async fn get_calendars_for_place<S>(&self, place: S) -> Result<Value>
pub async fn get_place_by_id<S>(&self, id: S) -> Result<Value>
pub async fn get_place_by_slug<S>(&self, slug: S) -> Result<Value>
pub async fn get_place_events<S1, S2>( &self, place_id: S1, cursor: Option<S2>, limit: Option<u32>, ) -> Result<Pagination>
pub async fn get_calendar_by_id<S>(&self, id: S) -> Result<Value>
pub async fn get_calendar_events<S1, S2>( &self, calendar: S1, cursor: Option<S2>, limit: Option<u32>, ) -> Result<Value>
pub async fn get_event<S>(&self, event: S) -> Result<Value>
pub async fn get_nearby_events<S>(&self, category: Option<S>) -> Result<Value>
Auto Trait Implementations§
impl !RefUnwindSafe for Client
impl !UnwindSafe for Client
impl Freeze for Client
impl Send for Client
impl Sync for Client
impl Unpin for Client
impl UnsafeUnpin for Client
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