pub struct PlatformService { /* private fields */ }Expand description
平台服务
提供应用引擎、目录服务、系统管理等功能的统一入口。
Implementations§
Source§impl PlatformService
impl PlatformService
Sourcepub fn new(config: PlatformConfig) -> SDKResult<Self>
pub fn new(config: PlatformConfig) -> SDKResult<Self>
Sourcepub fn config(&self) -> Arc<PlatformConfig>
pub fn config(&self) -> Arc<PlatformConfig>
获取客户端配置
Sourcepub fn app_engine(&self) -> AppEngineService
pub fn app_engine(&self) -> AppEngineService
应用引擎服务
提供应用管理、多租户、应用市场等功能。
Sourcepub fn directory(&self) -> DirectoryService
pub fn directory(&self) -> DirectoryService
目录服务
提供用户搜索、组织目录、人员查找等功能。
Sourcepub fn admin(&self) -> AdminService
pub fn admin(&self) -> AdminService
系统管理服务
提供系统配置、后台管理、平台工具等功能。
Sourcepub fn spark(&self) -> SparkService
pub fn spark(&self) -> SparkService
妙搭平台服务
提供妙搭和开放平台用户 ID 转换等功能。
Trait Implementations§
Source§impl Clone for PlatformService
impl Clone for PlatformService
Source§fn clone(&self) -> PlatformService
fn clone(&self) -> PlatformService
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for PlatformService
impl !RefUnwindSafe for PlatformService
impl Send for PlatformService
impl Sync for PlatformService
impl Unpin for PlatformService
impl UnsafeUnpin for PlatformService
impl !UnwindSafe for PlatformService
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