Struct google_api_proto::google::cloud::blockchainnodeengine::v1::blockchain_node::EthereumDetails
source · pub struct EthereumDetails {
pub network: Option<i32>,
pub node_type: Option<i32>,
pub execution_client: Option<i32>,
pub consensus_client: Option<i32>,
pub api_enable_admin: Option<bool>,
pub api_enable_debug: Option<bool>,
pub additional_endpoints: Option<EthereumEndpoints>,
pub validator_config: Option<ValidatorConfig>,
pub execution_client_details: Option<ExecutionClientDetails>,
}
Expand description
Ethereum-specific blockchain node details.
Fields§
§network: Option<i32>
Immutable. The Ethereum environment being accessed.
node_type: Option<i32>
Immutable. The type of Ethereum node.
execution_client: Option<i32>
Immutable. The execution client
consensus_client: Option<i32>
Immutable. The consensus client.
api_enable_admin: Option<bool>
Immutable. Enables JSON-RPC access to functions in the admin
namespace.
Defaults to false
.
api_enable_debug: Option<bool>
Immutable. Enables JSON-RPC access to functions in the debug
namespace.
Defaults to false
.
additional_endpoints: Option<EthereumEndpoints>
Output only. Ethereum-specific endpoint information.
validator_config: Option<ValidatorConfig>
Configuration for validator-related parameters on the beacon client, and for any GCP-managed validator client.
execution_client_details: Option<ExecutionClientDetails>
Options for the execution client.
Implementations§
source§impl EthereumDetails
impl EthereumDetails
sourcepub fn network(&self) -> Network
pub fn network(&self) -> Network
Returns the enum value of network
, or the default if the field is unset or set to an invalid enum value.
sourcepub fn set_network(&mut self, value: Network)
pub fn set_network(&mut self, value: Network)
Sets network
to the provided enum value.
sourcepub fn node_type(&self) -> NodeType
pub fn node_type(&self) -> NodeType
Returns the enum value of node_type
, or the default if the field is unset or set to an invalid enum value.
sourcepub fn set_node_type(&mut self, value: NodeType)
pub fn set_node_type(&mut self, value: NodeType)
Sets node_type
to the provided enum value.
sourcepub fn execution_client(&self) -> ExecutionClient
pub fn execution_client(&self) -> ExecutionClient
Returns the enum value of execution_client
, or the default if the field is unset or set to an invalid enum value.
sourcepub fn set_execution_client(&mut self, value: ExecutionClient)
pub fn set_execution_client(&mut self, value: ExecutionClient)
Sets execution_client
to the provided enum value.
sourcepub fn consensus_client(&self) -> ConsensusClient
pub fn consensus_client(&self) -> ConsensusClient
Returns the enum value of consensus_client
, or the default if the field is unset or set to an invalid enum value.
sourcepub fn set_consensus_client(&mut self, value: ConsensusClient)
pub fn set_consensus_client(&mut self, value: ConsensusClient)
Sets consensus_client
to the provided enum value.
sourcepub fn api_enable_admin(&self) -> bool
pub fn api_enable_admin(&self) -> bool
Returns the value of api_enable_admin
, or the default value if api_enable_admin
is unset.
sourcepub fn api_enable_debug(&self) -> bool
pub fn api_enable_debug(&self) -> bool
Returns the value of api_enable_debug
, or the default value if api_enable_debug
is unset.
Trait Implementations§
source§impl Clone for EthereumDetails
impl Clone for EthereumDetails
source§fn clone(&self) -> EthereumDetails
fn clone(&self) -> EthereumDetails
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for EthereumDetails
impl Debug for EthereumDetails
source§impl Default for EthereumDetails
impl Default for EthereumDetails
source§impl Message for EthereumDetails
impl Message for EthereumDetails
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for EthereumDetails
impl PartialEq for EthereumDetails
source§fn eq(&self, other: &EthereumDetails) -> bool
fn eq(&self, other: &EthereumDetails) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for EthereumDetails
Auto Trait Implementations§
impl Freeze for EthereumDetails
impl RefUnwindSafe for EthereumDetails
impl Send for EthereumDetails
impl Sync for EthereumDetails
impl Unpin for EthereumDetails
impl UnwindSafe for EthereumDetails
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request