pub struct GetChainInfoParams {
pub chain_descriptor: ChainDescriptor,
}
Expand description
struct for passing parameters to the method [get_chain_info
]
Fields§
§chain_descriptor: ChainDescriptor
The protocol identifier (e.g. "ETH"/"SOL"/"MATIC"/"STETH_ETH") to use
Implementations§
Source§impl GetChainInfoParams
impl GetChainInfoParams
Sourcepub fn builder() -> GetChainInfoParamsBuilder
pub fn builder() -> GetChainInfoParamsBuilder
Create an instance of GetChainInfoParams
using the builder syntax
Trait Implementations§
Source§impl Clone for GetChainInfoParams
impl Clone for GetChainInfoParams
Source§fn clone(&self) -> GetChainInfoParams
fn clone(&self) -> GetChainInfoParams
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 moreAuto Trait Implementations§
impl Freeze for GetChainInfoParams
impl RefUnwindSafe for GetChainInfoParams
impl Send for GetChainInfoParams
impl Sync for GetChainInfoParams
impl Unpin for GetChainInfoParams
impl UnwindSafe for GetChainInfoParams
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