pub struct Client { /* private fields */ }Expand description
High-level SDK client. Cheap to clone — all heavy state sits behind an Arc.
Implementations§
Source§impl Client
impl Client
Sourcepub fn builder() -> ClientBuilder
pub fn builder() -> ClientBuilder
Start a ClientBuilder.
Sourcepub fn config(&self) -> &ClientConfig
pub fn config(&self) -> &ClientConfig
Snapshot of the effective configuration.
Sourcepub fn transport(&self) -> Arc<Transport> ⓘ
pub fn transport(&self) -> Arc<Transport> ⓘ
Transport engine — exposed for advanced callers (the PyO3 bridge, tests).
pub fn api_keys(&self) -> ApiKeysClient
pub fn users(&self) -> UsersClient
pub fn orgs(&self) -> OrgsClient
pub fn devices(&self) -> DevicesClient
pub fn billing(&self) -> BillingClient
pub fn entities(&self) -> EntitiesClient
pub fn integrations(&self) -> IntegrationsClient
pub fn zones(&self) -> ZonesClient
pub fn lan_agent(&self) -> LanAgentClient
pub fn scripting(&self) -> ScriptingClient
pub fn apartment_residents(&self) -> ApartmentResidentsClient
pub fn public_access(&self) -> PublicAccessClient
pub fn auth(&self) -> AuthClient
pub fn me(&self) -> MeClient
pub fn eula(&self) -> EulaClient
pub fn status(&self) -> StatusClient
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Client
impl !RefUnwindSafe for Client
impl Send for Client
impl Sync for Client
impl Unpin for Client
impl UnsafeUnpin for Client
impl !UnwindSafe for Client
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