Struct sig_proxy::application::proxy::Config[][src]

pub struct Config {
Show fields pub address_header: HeaderName, pub backend: Url, pub balance_header: HeaderName, pub balance_requirement: Option<BalanceRequirement>, pub balance_scale: Option<BalanceScale>, pub challenge: Vec<u8>, pub provides_account_verification: bool, pub provides_balances: bool, pub erc20: ERC20Config, pub erc1155: ERC1155Config, pub erc721: ERC721Config, pub erc777: ERC777Config, pub provides_signatures: bool, pub web3_rpc_url: Url, pub secret_key: Option<SecretKey>, pub signature_header: HeaderName,
}

Fields

address_header: HeaderNamebackend: Urlbalance_header: HeaderNamebalance_requirement: Option<BalanceRequirement>balance_scale: Option<BalanceScale>challenge: Vec<u8>provides_account_verification: boolprovides_balances: boolerc20: ERC20Configerc1155: ERC1155Configerc721: ERC721Configerc777: ERC777Configprovides_signatures: boolweb3_rpc_url: Urlsecret_key: Option<SecretKey>signature_header: HeaderName

Auto Trait Implementations

impl RefUnwindSafe for Config

impl Send for Config

impl Sync for Config

impl Unpin for Config

impl UnwindSafe for Config

Blanket Implementations

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

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

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

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

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

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

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

pub fn from(t: T) -> T[src]

Performs the conversion.

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

pub fn into(self) -> U[src]

Performs the conversion.

impl<T> Same<T> for T

type Output = T

Should always be Self

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.

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

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.

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.

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

pub fn vzip(self) -> V