#[non_exhaustive]pub struct GetNodeInputBuilder { /* private fields */ }
Expand description
A builder for GetNodeInput
.
Implementations§
source§impl GetNodeInputBuilder
impl GetNodeInputBuilder
sourcepub fn network_id(self, input: impl Into<String>) -> Self
pub fn network_id(self, input: impl Into<String>) -> Self
The unique identifier of the network that the node is on.
sourcepub fn set_network_id(self, input: Option<String>) -> Self
pub fn set_network_id(self, input: Option<String>) -> Self
The unique identifier of the network that the node is on.
sourcepub fn member_id(self, input: impl Into<String>) -> Self
pub fn member_id(self, input: impl Into<String>) -> Self
The unique identifier of the member that owns the node.
Applies only to Hyperledger Fabric and is required for Hyperledger Fabric.
sourcepub fn set_member_id(self, input: Option<String>) -> Self
pub fn set_member_id(self, input: Option<String>) -> Self
The unique identifier of the member that owns the node.
Applies only to Hyperledger Fabric and is required for Hyperledger Fabric.
sourcepub fn set_node_id(self, input: Option<String>) -> Self
pub fn set_node_id(self, input: Option<String>) -> Self
The unique identifier of the node.
sourcepub fn build(self) -> Result<GetNodeInput, BuildError>
pub fn build(self) -> Result<GetNodeInput, BuildError>
Consumes the builder and constructs a GetNodeInput
.
Trait Implementations§
source§impl Clone for GetNodeInputBuilder
impl Clone for GetNodeInputBuilder
source§fn clone(&self) -> GetNodeInputBuilder
fn clone(&self) -> GetNodeInputBuilder
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 GetNodeInputBuilder
impl Debug for GetNodeInputBuilder
source§impl Default for GetNodeInputBuilder
impl Default for GetNodeInputBuilder
source§fn default() -> GetNodeInputBuilder
fn default() -> GetNodeInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<GetNodeInputBuilder> for GetNodeInputBuilder
impl PartialEq<GetNodeInputBuilder> for GetNodeInputBuilder
source§fn eq(&self, other: &GetNodeInputBuilder) -> bool
fn eq(&self, other: &GetNodeInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetNodeInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for GetNodeInputBuilder
impl Send for GetNodeInputBuilder
impl Sync for GetNodeInputBuilder
impl Unpin for GetNodeInputBuilder
impl UnwindSafe for GetNodeInputBuilder
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