#[non_exhaustive]pub struct NodeEthereumAttributes { /* private fields */ }
Expand description
Attributes of an Ethereum node.
Implementations§
source§impl NodeEthereumAttributes
impl NodeEthereumAttributes
sourcepub fn http_endpoint(&self) -> Option<&str>
pub fn http_endpoint(&self) -> Option<&str>
The endpoint on which the Ethereum node listens to run Ethereum API methods over HTTP connections from a client. Use this endpoint in client code for smart contracts when using an HTTP connection. Connections to this endpoint are authenticated using Signature Version 4.
sourcepub fn web_socket_endpoint(&self) -> Option<&str>
pub fn web_socket_endpoint(&self) -> Option<&str>
The endpoint on which the Ethereum node listens to run Ethereum JSON-RPC methods over WebSocket connections from a client. Use this endpoint in client code for smart contracts when using a WebSocket connection. Connections to this endpoint are authenticated using Signature Version 4.
source§impl NodeEthereumAttributes
impl NodeEthereumAttributes
sourcepub fn builder() -> NodeEthereumAttributesBuilder
pub fn builder() -> NodeEthereumAttributesBuilder
Creates a new builder-style object to manufacture NodeEthereumAttributes
.
Trait Implementations§
source§impl Clone for NodeEthereumAttributes
impl Clone for NodeEthereumAttributes
source§fn clone(&self) -> NodeEthereumAttributes
fn clone(&self) -> NodeEthereumAttributes
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 NodeEthereumAttributes
impl Debug for NodeEthereumAttributes
source§impl PartialEq<NodeEthereumAttributes> for NodeEthereumAttributes
impl PartialEq<NodeEthereumAttributes> for NodeEthereumAttributes
source§fn eq(&self, other: &NodeEthereumAttributes) -> bool
fn eq(&self, other: &NodeEthereumAttributes) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for NodeEthereumAttributes
Auto Trait Implementations§
impl RefUnwindSafe for NodeEthereumAttributes
impl Send for NodeEthereumAttributes
impl Sync for NodeEthereumAttributes
impl Unpin for NodeEthereumAttributes
impl UnwindSafe for NodeEthereumAttributes
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