#[non_exhaustive]pub struct ListNodesInput {
pub network_id: Option<String>,
pub member_id: Option<String>,
pub status: Option<NodeStatus>,
pub max_results: Option<i32>,
pub next_token: Option<String>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
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 for which to list nodes.
member_id: Option<String>
The unique identifier of the member who owns the nodes to list.
Applies only to Hyperledger Fabric and is required for Hyperledger Fabric.
status: Option<NodeStatus>
An optional status specifier. If provided, only nodes currently in this status are listed.
max_results: Option<i32>
The maximum number of nodes to list.
next_token: Option<String>
The pagination token that indicates the next set of results to retrieve.
Implementations§
source§impl ListNodesInput
impl ListNodesInput
sourcepub fn network_id(&self) -> Option<&str>
pub fn network_id(&self) -> Option<&str>
The unique identifier of the network for which to list nodes.
sourcepub fn member_id(&self) -> Option<&str>
pub fn member_id(&self) -> Option<&str>
The unique identifier of the member who owns the nodes to list.
Applies only to Hyperledger Fabric and is required for Hyperledger Fabric.
sourcepub fn status(&self) -> Option<&NodeStatus>
pub fn status(&self) -> Option<&NodeStatus>
An optional status specifier. If provided, only nodes currently in this status are listed.
sourcepub fn max_results(&self) -> Option<i32>
pub fn max_results(&self) -> Option<i32>
The maximum number of nodes to list.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
The pagination token that indicates the next set of results to retrieve.
source§impl ListNodesInput
impl ListNodesInput
sourcepub fn builder() -> ListNodesInputBuilder
pub fn builder() -> ListNodesInputBuilder
Creates a new builder-style object to manufacture ListNodesInput
.
Trait Implementations§
source§impl Clone for ListNodesInput
impl Clone for ListNodesInput
source§fn clone(&self) -> ListNodesInput
fn clone(&self) -> ListNodesInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListNodesInput
impl Debug for ListNodesInput
source§impl PartialEq for ListNodesInput
impl PartialEq for ListNodesInput
source§fn eq(&self, other: &ListNodesInput) -> bool
fn eq(&self, other: &ListNodesInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListNodesInput
Auto Trait Implementations§
impl Freeze for ListNodesInput
impl RefUnwindSafe for ListNodesInput
impl Send for ListNodesInput
impl Sync for ListNodesInput
impl Unpin for ListNodesInput
impl UnwindSafe for ListNodesInput
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
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more