#[non_exhaustive]pub struct NodeFabricAttributesBuilder { /* private fields */ }
Expand description
A builder for NodeFabricAttributes
.
Implementations§
source§impl NodeFabricAttributesBuilder
impl NodeFabricAttributesBuilder
sourcepub fn peer_endpoint(self, input: impl Into<String>) -> Self
pub fn peer_endpoint(self, input: impl Into<String>) -> Self
The endpoint that identifies the peer node for all services except peer channel-based event services.
sourcepub fn set_peer_endpoint(self, input: Option<String>) -> Self
pub fn set_peer_endpoint(self, input: Option<String>) -> Self
The endpoint that identifies the peer node for all services except peer channel-based event services.
sourcepub fn get_peer_endpoint(&self) -> &Option<String>
pub fn get_peer_endpoint(&self) -> &Option<String>
The endpoint that identifies the peer node for all services except peer channel-based event services.
sourcepub fn peer_event_endpoint(self, input: impl Into<String>) -> Self
pub fn peer_event_endpoint(self, input: impl Into<String>) -> Self
The endpoint that identifies the peer node for peer channel-based event services.
sourcepub fn set_peer_event_endpoint(self, input: Option<String>) -> Self
pub fn set_peer_event_endpoint(self, input: Option<String>) -> Self
The endpoint that identifies the peer node for peer channel-based event services.
sourcepub fn get_peer_event_endpoint(&self) -> &Option<String>
pub fn get_peer_event_endpoint(&self) -> &Option<String>
The endpoint that identifies the peer node for peer channel-based event services.
sourcepub fn build(self) -> NodeFabricAttributes
pub fn build(self) -> NodeFabricAttributes
Consumes the builder and constructs a NodeFabricAttributes
.
Trait Implementations§
source§impl Clone for NodeFabricAttributesBuilder
impl Clone for NodeFabricAttributesBuilder
source§fn clone(&self) -> NodeFabricAttributesBuilder
fn clone(&self) -> NodeFabricAttributesBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for NodeFabricAttributesBuilder
impl Debug for NodeFabricAttributesBuilder
source§impl Default for NodeFabricAttributesBuilder
impl Default for NodeFabricAttributesBuilder
source§fn default() -> NodeFabricAttributesBuilder
fn default() -> NodeFabricAttributesBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for NodeFabricAttributesBuilder
impl PartialEq for NodeFabricAttributesBuilder
source§fn eq(&self, other: &NodeFabricAttributesBuilder) -> bool
fn eq(&self, other: &NodeFabricAttributesBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for NodeFabricAttributesBuilder
Auto Trait Implementations§
impl RefUnwindSafe for NodeFabricAttributesBuilder
impl Send for NodeFabricAttributesBuilder
impl Sync for NodeFabricAttributesBuilder
impl Unpin for NodeFabricAttributesBuilder
impl UnwindSafe for NodeFabricAttributesBuilder
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.