[][src]Struct substrate_subxt_client::SubxtClientConfig

pub struct SubxtClientConfig<C: ChainSpec + 'static, S: AbstractService> {
    pub impl_name: &'static str,
    pub impl_version: &'static str,
    pub author: &'static str,
    pub copyright_start_year: i32,
    pub db: DatabaseConfig,
    pub builder: fn(_: Configuration) -> Result<S, Error>,
    pub chain_spec: C,
    pub role: Role,
}

Client configuration.

Fields

impl_name: &'static str

Name of the implementation.

impl_version: &'static str

Version of the implementation.

author: &'static str

Author of the implementation.

copyright_start_year: i32

Copyright start year.

db: DatabaseConfig

Database configuration.

builder: fn(_: Configuration) -> Result<S, Error>

Service builder.

chain_spec: C

Chain specification.

role: Role

Role of the node.

Trait Implementations

impl<C: Clone + ChainSpec + 'static, S: Clone + AbstractService> Clone for SubxtClientConfig<C, S>[src]

Auto Trait Implementations

impl<C, S> !RefUnwindSafe for SubxtClientConfig<C, S>

impl<C, S> Send for SubxtClientConfig<C, S>

impl<C, S> Sync for SubxtClientConfig<C, S> where
    C: Sync

impl<C, S> Unpin for SubxtClientConfig<C, S> where
    C: Unpin

impl<C, S> !UnwindSafe for SubxtClientConfig<C, S>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> CheckedConversion for T

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, Outer> IsWrappedBy<Outer> for T where
    Outer: AsRef<T> + AsMut<T> + From<T>,
    T: From<Outer>, 

fn from_ref(outer: &Outer) -> &T

Get a reference to the inner from the outer.

fn from_mut(outer: &mut Outer) -> &mut T

Get a mutable reference to the inner from the outer.

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> SaturatedConversion for T

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<S, T> UncheckedInto<T> for S where
    T: UncheckedFrom<S>, 

impl<T, S> UniqueSaturatedInto<T> for S where
    S: TryInto<T>,
    T: Bounded

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,