pub struct Identity { /* private fields */ }Implementations§
Source§impl Identity
impl Identity
pub fn new(base_url: &str) -> Self
pub async fn query(&self, query: &str) -> Result<Value, Box<dyn Error>>
pub async fn count_dimo_vehicles(&self) -> Result<Value, Box<dyn Error>>
pub async fn list_vehicle_definitions_per_address( &self, address: &str, limit: Option<i32>, ) -> Result<Value, Box<dyn Error>>
Auto Trait Implementations§
impl Freeze for Identity
impl RefUnwindSafe for Identity
impl Send for Identity
impl Sync for Identity
impl Unpin for Identity
impl UnsafeUnpin for Identity
impl UnwindSafe for Identity
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