#[non_exhaustive]pub struct DeleteNodeInputBuilder { /* private fields */ }
Expand description
A builder for DeleteNodeInput
.
Implementations§
source§impl DeleteNodeInputBuilder
impl DeleteNodeInputBuilder
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.
Ethereum public networks have the following NetworkId
s:
-
n-ethereum-mainnet
-
n-ethereum-goerli
-
n-ethereum-rinkeby
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.
Ethereum public networks have the following NetworkId
s:
-
n-ethereum-mainnet
-
n-ethereum-goerli
-
n-ethereum-rinkeby
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 this 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 this 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<DeleteNodeInput, BuildError>
pub fn build(self) -> Result<DeleteNodeInput, BuildError>
Consumes the builder and constructs a DeleteNodeInput
.
Trait Implementations§
source§impl Clone for DeleteNodeInputBuilder
impl Clone for DeleteNodeInputBuilder
source§fn clone(&self) -> DeleteNodeInputBuilder
fn clone(&self) -> DeleteNodeInputBuilder
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 DeleteNodeInputBuilder
impl Debug for DeleteNodeInputBuilder
source§impl Default for DeleteNodeInputBuilder
impl Default for DeleteNodeInputBuilder
source§fn default() -> DeleteNodeInputBuilder
fn default() -> DeleteNodeInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<DeleteNodeInputBuilder> for DeleteNodeInputBuilder
impl PartialEq<DeleteNodeInputBuilder> for DeleteNodeInputBuilder
source§fn eq(&self, other: &DeleteNodeInputBuilder) -> bool
fn eq(&self, other: &DeleteNodeInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DeleteNodeInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for DeleteNodeInputBuilder
impl Send for DeleteNodeInputBuilder
impl Sync for DeleteNodeInputBuilder
impl Unpin for DeleteNodeInputBuilder
impl UnwindSafe for DeleteNodeInputBuilder
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