pub struct AnalyticsService { /* private fields */ }Expand description
数据分析服务
数据分析服务的统一入口(search API 经 crate::search::search::v2::* 直路径访问,ADR 0001 扁平收口)。
Implementations§
Source§impl AnalyticsService
impl AnalyticsService
Sourcepub fn new(config: AnalyticsConfig) -> Self
pub fn new(config: AnalyticsConfig) -> Self
创建新的数据分析服务实例。
构造不会失败,故返回 Self(非 SDKResult)——#350 P9 接口形状撒谎修正,
与 PlatformService::new / UserService::new 一致。
Sourcepub fn config(&self) -> Arc<AnalyticsConfig>
pub fn config(&self) -> Arc<AnalyticsConfig>
获取客户端配置
Trait Implementations§
Source§impl Clone for AnalyticsService
impl Clone for AnalyticsService
Source§fn clone(&self) -> AnalyticsService
fn clone(&self) -> AnalyticsService
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 !RefUnwindSafe for AnalyticsService
impl !UnwindSafe for AnalyticsService
impl Freeze for AnalyticsService
impl Send for AnalyticsService
impl Sync for AnalyticsService
impl Unpin for AnalyticsService
impl UnsafeUnpin for AnalyticsService
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