Struct librelink_client::client::LibreLinkClient
source · pub struct LibreLinkClient { /* private fields */ }Implementations§
source§impl LibreLinkClient
impl LibreLinkClient
pub async fn new(credentials: Credentials) -> Result<Self, Box<dyn Error>>
pub fn from_token(token: String) -> Self
pub async fn get_connections( &self, ) -> Result<ResponseConnections, Box<dyn Error>>
pub async fn get_connection_graph( &self, connection_id: &str, ) -> Result<ConnectionGraphResponse, Box<dyn Error>>
Auto Trait Implementations§
impl Freeze for LibreLinkClient
impl !RefUnwindSafe for LibreLinkClient
impl Send for LibreLinkClient
impl Sync for LibreLinkClient
impl Unpin for LibreLinkClient
impl !UnwindSafe for LibreLinkClient
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