#[non_exhaustive]pub struct NodeEthereumAttributes { /* private fields */ }Expand description
Attributes of an Ethereum node.
Implementations
sourceimpl 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 JSON-RPC 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 WebSockets connections from a client. Use this endpoint in client code for smart contracts when using a WebSockets connection. Connections to this endpoint are authenticated using Signature Version 4.
sourceimpl NodeEthereumAttributes
impl NodeEthereumAttributes
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture NodeEthereumAttributes.
Trait Implementations
sourceimpl Clone for NodeEthereumAttributes
impl Clone for NodeEthereumAttributes
sourcefn clone(&self) -> NodeEthereumAttributes
fn clone(&self) -> NodeEthereumAttributes
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 NodeEthereumAttributes
impl Debug for NodeEthereumAttributes
sourceimpl PartialEq<NodeEthereumAttributes> for NodeEthereumAttributes
impl PartialEq<NodeEthereumAttributes> for NodeEthereumAttributes
sourcefn 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 ==. Read more
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
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> 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