pub struct LinksApi { /* private fields */ }Implementations§
Source§impl LinksApi
impl LinksApi
pub fn new(http: Arc<HttpClient>) -> Self
pub async fn list(&self, location_id: &str) -> Result<GetLinksResponse>
pub async fn create(&self, params: &CreateLinkParams) -> Result<GetLinkResponse>
pub async fn update( &self, link_id: &str, params: &UpdateLinkParams, ) -> Result<GetLinkResponse>
pub async fn delete(&self, link_id: &str) -> Result<DeleteLinkResponse>
Auto Trait Implementations§
impl !RefUnwindSafe for LinksApi
impl !UnwindSafe for LinksApi
impl Freeze for LinksApi
impl Send for LinksApi
impl Sync for LinksApi
impl Unpin for LinksApi
impl UnsafeUnpin for LinksApi
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