pub struct PoliciesService { /* private fields */ }Implementations§
Source§impl PoliciesService
impl PoliciesService
pub fn new(ctx: ServiceContext) -> Self
Source§impl PoliciesService
impl PoliciesService
Sourcepub async fn subscribe(
&self,
account_id: Option<&str>,
) -> Result<TypedSubscription<SubaccountPolicy>>
pub async fn subscribe( &self, account_id: Option<&str>, ) -> Result<TypedSubscription<SubaccountPolicy>>
Subscribe to private subaccount policy updates (requires realtime feature).
Sourcepub async fn subscribe_subaccount_policies(
&self,
account_id: Option<&str>,
) -> Result<TypedSubscription<SubaccountPolicy>>
pub async fn subscribe_subaccount_policies( &self, account_id: Option<&str>, ) -> Result<TypedSubscription<SubaccountPolicy>>
Subscribe to private subaccount policy updates (requires realtime feature).
Sourcepub async fn subscribe_api_policies(
&self,
account_id: Option<&str>,
) -> Result<TypedSubscription<ApiPolicy>>
pub async fn subscribe_api_policies( &self, account_id: Option<&str>, ) -> Result<TypedSubscription<ApiPolicy>>
Subscribe to private API-key policy updates (requires realtime feature).
Trait Implementations§
Source§impl Clone for PoliciesService
impl Clone for PoliciesService
Source§fn clone(&self) -> PoliciesService
fn clone(&self) -> PoliciesService
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 PoliciesService
impl !RefUnwindSafe for PoliciesService
impl !UnwindSafe for PoliciesService
impl Send for PoliciesService
impl Sync for PoliciesService
impl Unpin for PoliciesService
impl UnsafeUnpin for PoliciesService
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