pub struct PrivateTransactionPreferences {
pub validity: Option<Validity>,
pub privacy: Option<Privacy>,
}
Expand description
Additional preferences for eth_sendPrivateTransaction
Fields§
§validity: Option<Validity>
Requirements for the bundle to be included in the block.
privacy: Option<Privacy>
Preferences on what data should be shared about the bundle and its transactions
Implementations§
Trait Implementations§
Source§impl Clone for PrivateTransactionPreferences
impl Clone for PrivateTransactionPreferences
Source§fn clone(&self) -> PrivateTransactionPreferences
fn clone(&self) -> PrivateTransactionPreferences
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Default for PrivateTransactionPreferences
impl Default for PrivateTransactionPreferences
Source§fn default() -> PrivateTransactionPreferences
fn default() -> PrivateTransactionPreferences
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PrivateTransactionPreferences
impl<'de> Deserialize<'de> for PrivateTransactionPreferences
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 PartialEq for PrivateTransactionPreferences
impl PartialEq for PrivateTransactionPreferences
Source§fn eq(&self, other: &PrivateTransactionPreferences) -> bool
fn eq(&self, other: &PrivateTransactionPreferences) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Eq for PrivateTransactionPreferences
impl StructuralPartialEq for PrivateTransactionPreferences
Auto Trait Implementations§
impl Freeze for PrivateTransactionPreferences
impl RefUnwindSafe for PrivateTransactionPreferences
impl Send for PrivateTransactionPreferences
impl Sync for PrivateTransactionPreferences
impl Unpin for PrivateTransactionPreferences
impl UnwindSafe for PrivateTransactionPreferences
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)