#[non_exhaustive]pub struct DeleteNodeInput {
pub network_id: Option<String>,
pub member_id: Option<String>,
pub node_id: Option<String>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.network_id: Option<String>The unique identifier of the network that the node is on.
Ethereum public networks have the following NetworkIds:
-
n-ethereum-mainnet -
n-ethereum-goerli -
n-ethereum-rinkeby
member_id: Option<String>The unique identifier of the member that owns this node.
Applies only to Hyperledger Fabric and is required for Hyperledger Fabric.
node_id: Option<String>The unique identifier of the node.
Implementations§
source§impl DeleteNodeInput
impl DeleteNodeInput
sourcepub fn network_id(&self) -> Option<&str>
pub fn network_id(&self) -> Option<&str>
The unique identifier of the network that the node is on.
Ethereum public networks have the following NetworkIds:
-
n-ethereum-mainnet -
n-ethereum-goerli -
n-ethereum-rinkeby
source§impl DeleteNodeInput
impl DeleteNodeInput
sourcepub fn builder() -> DeleteNodeInputBuilder
pub fn builder() -> DeleteNodeInputBuilder
Creates a new builder-style object to manufacture DeleteNodeInput.
Trait Implementations§
source§impl Clone for DeleteNodeInput
impl Clone for DeleteNodeInput
source§fn clone(&self) -> DeleteNodeInput
fn clone(&self) -> DeleteNodeInput
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 DeleteNodeInput
impl Debug for DeleteNodeInput
source§impl PartialEq<DeleteNodeInput> for DeleteNodeInput
impl PartialEq<DeleteNodeInput> for DeleteNodeInput
source§fn eq(&self, other: &DeleteNodeInput) -> bool
fn eq(&self, other: &DeleteNodeInput) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for DeleteNodeInput
Auto Trait Implementations§
impl RefUnwindSafe for DeleteNodeInput
impl Send for DeleteNodeInput
impl Sync for DeleteNodeInput
impl Unpin for DeleteNodeInput
impl UnwindSafe for DeleteNodeInput
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