pub struct StreamRuleBuilder<A> { /* private fields */ }Implementations§
Source§impl<A> StreamRuleBuilder<A>where
A: Authorization,
impl<A> StreamRuleBuilder<A>where
A: Authorization,
pub fn dry_run(&mut self) -> &mut Self
pub fn add(&mut self, value: impl ToString) -> &mut Self
pub fn add_tagged( &mut self, value: impl ToString, tag: impl ToString, ) -> &mut Self
pub fn delete_id(&mut self, id: impl IntoNumericId) -> &mut Self
pub fn delete_ids( &mut self, ids: impl IntoIterator<Item = impl IntoNumericId>, ) -> &mut Self
pub async fn send(&self) -> ApiResult<A, Vec<StreamRule>, StreamRuleMeta>
Trait Implementations§
Source§impl<A> Clone for StreamRuleBuilder<A>
impl<A> Clone for StreamRuleBuilder<A>
Auto Trait Implementations§
impl<A> Freeze for StreamRuleBuilder<A>
impl<A> !RefUnwindSafe for StreamRuleBuilder<A>
impl<A> Send for StreamRuleBuilder<A>
impl<A> Sync for StreamRuleBuilder<A>
impl<A> Unpin for StreamRuleBuilder<A>
impl<A> !UnwindSafe for StreamRuleBuilder<A>
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