pub struct CustomMenusApi { /* private fields */ }Implementations§
Source§impl CustomMenusApi
impl CustomMenusApi
pub fn new(http: Arc<HttpClient>) -> Self
pub async fn list(&self, location_id: &str) -> Result<GetCustomMenusResponse>
pub async fn get(&self, menu_id: &str) -> Result<GetCustomMenuResponse>
pub async fn create( &self, params: &CreateCustomMenuParams, ) -> Result<GetCustomMenuResponse>
pub async fn update( &self, menu_id: &str, params: &CreateCustomMenuParams, ) -> Result<GetCustomMenuResponse>
pub async fn delete(&self, menu_id: &str) -> Result<DeleteCustomMenuResponse>
Auto Trait Implementations§
impl !RefUnwindSafe for CustomMenusApi
impl !UnwindSafe for CustomMenusApi
impl Freeze for CustomMenusApi
impl Send for CustomMenusApi
impl Sync for CustomMenusApi
impl Unpin for CustomMenusApi
impl UnsafeUnpin for CustomMenusApi
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