pub struct Erc4337PaymasterPolicy {
pub entry_point: String,
pub paymaster_address: String,
pub supported_chain_ids: Vec<String>,
pub max_sponsor_gas_limit: u64,
pub max_reimbursement_minor_units: u64,
pub settlement_deduction_explicit: bool,
}Fields§
§entry_point: String§paymaster_address: String§supported_chain_ids: Vec<String>§max_sponsor_gas_limit: u64§max_reimbursement_minor_units: u64§settlement_deduction_explicit: boolTrait Implementations§
Source§impl Clone for Erc4337PaymasterPolicy
impl Clone for Erc4337PaymasterPolicy
Source§fn clone(&self) -> Erc4337PaymasterPolicy
fn clone(&self) -> Erc4337PaymasterPolicy
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 Debug for Erc4337PaymasterPolicy
impl Debug for Erc4337PaymasterPolicy
Source§impl<'de> Deserialize<'de> for Erc4337PaymasterPolicy
impl<'de> Deserialize<'de> for Erc4337PaymasterPolicy
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
impl Eq for Erc4337PaymasterPolicy
Source§impl PartialEq for Erc4337PaymasterPolicy
impl PartialEq for Erc4337PaymasterPolicy
Source§impl Serialize for Erc4337PaymasterPolicy
impl Serialize for Erc4337PaymasterPolicy
impl StructuralPartialEq for Erc4337PaymasterPolicy
Auto Trait Implementations§
impl Freeze for Erc4337PaymasterPolicy
impl RefUnwindSafe for Erc4337PaymasterPolicy
impl Send for Erc4337PaymasterPolicy
impl Sync for Erc4337PaymasterPolicy
impl Unpin for Erc4337PaymasterPolicy
impl UnsafeUnpin for Erc4337PaymasterPolicy
impl UnwindSafe for Erc4337PaymasterPolicy
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