pub struct EndpointBuilder { /* private fields */ }
Available on crate feature
service
only.Implementations§
source§impl EndpointBuilder
impl EndpointBuilder
sourcepub fn name<S: ToString>(self, name: S) -> EndpointBuilder
pub fn name<S: ToString>(self, name: S) -> EndpointBuilder
Name of the Endpoint. By default subject of the endpoint is used.
sourcepub fn metadata(self, metadata: HashMap<String, String>) -> EndpointBuilder
pub fn metadata(self, metadata: HashMap<String, String>) -> EndpointBuilder
Metadata specific for the Endpoint.
sourcepub fn queue_group<S: ToString>(self, queue_group: S) -> EndpointBuilder
pub fn queue_group<S: ToString>(self, queue_group: S) -> EndpointBuilder
Custom queue group for the Endpoint. Otherwise it will be derived from group or service.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for EndpointBuilder
impl !RefUnwindSafe for EndpointBuilder
impl Send for EndpointBuilder
impl Sync for EndpointBuilder
impl Unpin for EndpointBuilder
impl !UnwindSafe for EndpointBuilder
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