pub struct NodeConfiguration {
pub availability_zone: Option<String>,
pub instance_type: String,
pub log_publishing_configuration: Option<NodeLogPublishingConfiguration>,
pub state_db: Option<String>,
}
Expand description
Configuration properties of a node.
Fields
availability_zone: Option<String>
The Availability Zone in which the node exists. Required for Ethereum nodes.
instance_type: String
The Amazon Managed Blockchain instance type for the node.
log_publishing_configuration: Option<NodeLogPublishingConfiguration>
Configuration properties for logging events associated with a peer node on a Hyperledger Fabric network on Managed Blockchain.
state_db: Option<String>
The state database that the node uses. Values are LevelDB
or CouchDB
. When using an Amazon Managed Blockchain network with Hyperledger Fabric version 1.4 or later, the default is CouchDB
.
Applies only to Hyperledger Fabric.
Trait Implementations
sourceimpl Clone for NodeConfiguration
impl Clone for NodeConfiguration
sourcefn clone(&self) -> NodeConfiguration
fn clone(&self) -> NodeConfiguration
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for NodeConfiguration
impl Debug for NodeConfiguration
sourceimpl Default for NodeConfiguration
impl Default for NodeConfiguration
sourcefn default() -> NodeConfiguration
fn default() -> NodeConfiguration
Returns the “default value” for a type. Read more
sourceimpl PartialEq<NodeConfiguration> for NodeConfiguration
impl PartialEq<NodeConfiguration> for NodeConfiguration
sourcefn eq(&self, other: &NodeConfiguration) -> bool
fn eq(&self, other: &NodeConfiguration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &NodeConfiguration) -> bool
fn ne(&self, other: &NodeConfiguration) -> bool
This method tests for !=
.
sourceimpl Serialize for NodeConfiguration
impl Serialize for NodeConfiguration
impl StructuralPartialEq for NodeConfiguration
Auto Trait Implementations
impl RefUnwindSafe for NodeConfiguration
impl Send for NodeConfiguration
impl Sync for NodeConfiguration
impl Unpin for NodeConfiguration
impl UnwindSafe for NodeConfiguration
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more