pub struct Client<State = NoAuth> {
pub base_url: String,
pub auth_token: Option<String>,
pub state: State,
}Fields§
§base_url: String§auth_token: Option<String>§state: StateImplementations§
Source§impl Client<Auth>
impl Client<Auth>
pub fn collections(&self) -> CollectionsManager<'_>
pub fn health_check(&self) -> Result<HealthCheckResponse>
pub fn logs(&self) -> LogsManager<'_>
pub fn records(&self, record_name: &'static str) -> RecordsManager<'_>
Trait Implementations§
Auto Trait Implementations§
impl<State> Freeze for Client<State>where
State: Freeze,
impl<State> RefUnwindSafe for Client<State>where
State: RefUnwindSafe,
impl<State> Send for Client<State>where
State: Send,
impl<State> Sync for Client<State>where
State: Sync,
impl<State> Unpin for Client<State>where
State: Unpin,
impl<State> UnsafeUnpin for Client<State>where
State: UnsafeUnpin,
impl<State> UnwindSafe for Client<State>where
State: UnwindSafe,
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