pub struct ROClient { /* private fields */ }Implementations§
Source§impl ROClient
impl ROClient
pub fn new(api_key: String) -> Result<Self>
pub fn clear_cache(&self) -> Result<()>
pub async fn call<T, R>(&self, action_path: &str, params: &T) -> Result<R>
pub async fn get_user_by_id(&self, user_id: u32) -> Result<User>
pub async fn annotate_record( &self, concept: &str, record_id: u32, note: &str, ) -> Result<()>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ROClient
impl !RefUnwindSafe for ROClient
impl Send for ROClient
impl Sync for ROClient
impl Unpin for ROClient
impl !UnwindSafe for ROClient
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