pub struct SmartWalletNetworkConfiguration {
pub bundler_url: String,
pub chain_id: SmartWalletNetworkConfigurationChainId,
pub chain_name: Option<String>,
pub paymaster_context: Option<AlchemyPaymasterContext>,
pub paymaster_url: Option<String>,
pub rpc_url: Option<String>,
}Expand description
Network configuration for a smart wallet.
JSON schema
{
"title": "SmartWalletNetworkConfiguration",
"description": "Network configuration for a smart wallet.",
"type": "object",
"required": [
"bundler_url",
"chain_id"
],
"properties": {
"bundler_url": {
"type": "string"
},
"chain_id": {
"type": "string",
"pattern": "^eip155:\\d+$"
},
"chain_name": {
"type": "string"
},
"paymaster_context": {
"$ref": "#/components/schemas/AlchemyPaymasterContext"
},
"paymaster_url": {
"type": "string"
},
"rpc_url": {
"type": "string"
}
},
"x-stainless-model":
"embedded_wallets.smart_wallet_network_configuration"
}Fields§
§bundler_url: String§chain_id: SmartWalletNetworkConfigurationChainId§chain_name: Option<String>§paymaster_context: Option<AlchemyPaymasterContext>§paymaster_url: Option<String>§rpc_url: Option<String>Trait Implementations§
Source§impl Clone for SmartWalletNetworkConfiguration
impl Clone for SmartWalletNetworkConfiguration
Source§fn clone(&self) -> SmartWalletNetworkConfiguration
fn clone(&self) -> SmartWalletNetworkConfiguration
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de> Deserialize<'de> for SmartWalletNetworkConfiguration
impl<'de> Deserialize<'de> for SmartWalletNetworkConfiguration
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&SmartWalletNetworkConfiguration> for SmartWalletNetworkConfiguration
impl From<&SmartWalletNetworkConfiguration> for SmartWalletNetworkConfiguration
Source§fn from(value: &SmartWalletNetworkConfiguration) -> Self
fn from(value: &SmartWalletNetworkConfiguration) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SmartWalletNetworkConfiguration
impl RefUnwindSafe for SmartWalletNetworkConfiguration
impl Send for SmartWalletNetworkConfiguration
impl Sync for SmartWalletNetworkConfiguration
impl Unpin for SmartWalletNetworkConfiguration
impl UnsafeUnpin for SmartWalletNetworkConfiguration
impl UnwindSafe for SmartWalletNetworkConfiguration
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