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