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).
Sourcepub fn with_org(&self, org: impl Into<String>) -> Client
pub fn with_org(&self, org: impl Into<String>) -> Client
Return a client scoped to a different organization (X-Org header).
pub fn api_keys(&self) -> ApiKeysClient
pub fn agents(&self) -> AgentsClient
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 directory_listing_members(&self) -> DirectoryListingMembersClient
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 !RefUnwindSafe for Client
impl !UnwindSafe for Client
impl Freeze for Client
impl Send for Client
impl Sync for Client
impl Unpin for Client
impl UnsafeUnpin 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