pub struct APIClient { /* private fields */ }
Implementations§
Source§impl APIClient
impl APIClient
pub fn new(_addr: String) -> APIClient
pub fn connect(&mut self) -> bool
pub fn update( &mut self, ticket: &str, cmd: IndvOp, indv: &Individual, ) -> OpResult
pub fn update_or_err( &mut self, ticket: &str, event_id: &str, src: &str, cmd: IndvOp, indv: &Individual, ) -> Result<OpResult, ApiError>
pub fn update_use_param( &mut self, ticket: &str, event_id: &str, src: &str, assigned_subsystems: i64, cmd: IndvOp, indv: &Individual, ) -> OpResult
Auto Trait Implementations§
impl Freeze for APIClient
impl RefUnwindSafe for APIClient
impl Send for APIClient
impl Sync for APIClient
impl Unpin for APIClient
impl UnwindSafe for APIClient
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