pub struct AggregatorSpec { /* private fields */ }Implementations§
Source§impl AggregatorSpec
impl AggregatorSpec
pub fn new<H: Into<String>, C: Into<String>>( correlation_header: H, completion: C, ) -> Self
pub fn with_id<I, H, C>(id: I, correlation_header: H, completion: C) -> Self
pub fn set_strategy<S: Into<String>>(self, strategy: S) -> Self
pub fn set_store<S: Into<String>>(self, store: S) -> Self
pub fn id(&self) -> Option<&str>
pub fn correlation_header(&self) -> &str
pub fn completion(&self) -> &str
pub fn strategy(&self) -> Option<&str>
pub fn store(&self) -> Option<&str>
Trait Implementations§
Source§impl Clone for AggregatorSpec
impl Clone for AggregatorSpec
Source§fn clone(&self) -> AggregatorSpec
fn clone(&self) -> AggregatorSpec
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 AggregatorSpec
impl RefUnwindSafe for AggregatorSpec
impl Send for AggregatorSpec
impl Sync for AggregatorSpec
impl Unpin for AggregatorSpec
impl UnsafeUnpin for AggregatorSpec
impl UnwindSafe for AggregatorSpec
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