pub struct AdminService { /* private fields */ }Expand description
系统管理服务
提供系统管理相关 API 的访问入口。
Implementations§
Source§impl AdminService
impl AdminService
Sourcepub fn new(config: Arc<PlatformConfig>) -> Self
pub fn new(config: Arc<PlatformConfig>) -> Self
创建新的系统管理服务实例
Sourcepub fn config(&self) -> Arc<PlatformConfig>
pub fn config(&self) -> Arc<PlatformConfig>
获取客户端配置
Trait Implementations§
Source§impl Clone for AdminService
impl Clone for AdminService
Source§fn clone(&self) -> AdminService
fn clone(&self) -> AdminService
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 AdminService
impl !RefUnwindSafe for AdminService
impl Send for AdminService
impl Sync for AdminService
impl Unpin for AdminService
impl UnsafeUnpin for AdminService
impl !UnwindSafe for AdminService
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