pub struct SmartWalletNetworkConfigurationInput {
pub bundler_url: Option<String>,
pub chain_id: SmartWalletNetworkConfigurationInputChainId,
pub chain_name: Option<String>,
pub paymaster_context: Option<AlchemyPaymasterContext>,
pub paymaster_url: Option<String>,
pub rpc_url: Option<String>,
}Expand description
Input for network configuration for a smart wallet.
JSON schema
{
"title": "SmartWalletNetworkConfigurationInput",
"description": "Input for network configuration for a smart wallet.",
"type": "object",
"required": [
"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_input"
}Fields§
§bundler_url: Option<String>§chain_id: SmartWalletNetworkConfigurationInputChainId§chain_name: Option<String>§paymaster_context: Option<AlchemyPaymasterContext>§paymaster_url: Option<String>§rpc_url: Option<String>Trait Implementations§
Source§impl Clone for SmartWalletNetworkConfigurationInput
impl Clone for SmartWalletNetworkConfigurationInput
Source§fn clone(&self) -> SmartWalletNetworkConfigurationInput
fn clone(&self) -> SmartWalletNetworkConfigurationInput
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 SmartWalletNetworkConfigurationInput
impl<'de> Deserialize<'de> for SmartWalletNetworkConfigurationInput
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<SmartWalletNetworkConfigurationInput, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<SmartWalletNetworkConfigurationInput, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&SmartWalletNetworkConfigurationInput> for SmartWalletNetworkConfigurationInput
impl From<&SmartWalletNetworkConfigurationInput> for SmartWalletNetworkConfigurationInput
Source§fn from(
value: &SmartWalletNetworkConfigurationInput,
) -> SmartWalletNetworkConfigurationInput
fn from( value: &SmartWalletNetworkConfigurationInput, ) -> SmartWalletNetworkConfigurationInput
Converts to this type from the input type.
Source§impl Serialize for SmartWalletNetworkConfigurationInput
impl Serialize for SmartWalletNetworkConfigurationInput
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for SmartWalletNetworkConfigurationInput
impl RefUnwindSafe for SmartWalletNetworkConfigurationInput
impl Send for SmartWalletNetworkConfigurationInput
impl Sync for SmartWalletNetworkConfigurationInput
impl Unpin for SmartWalletNetworkConfigurationInput
impl UnsafeUnpin for SmartWalletNetworkConfigurationInput
impl UnwindSafe for SmartWalletNetworkConfigurationInput
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