pub struct GasData {
pub payment: Vec<ObjectRef>,
pub owner: Address,
pub price: u64,
pub budget: u64,
}Expand description
Gas payment information for a transaction.
This type is here for backwards compatibility purposes. The new GasPayment uses
ObjectReference, which is incompatible with ObjectRef used across our internal Rust
APIs (but still compatible at the serde level).
Fields§
§payment: Vec<ObjectRef>§owner: Address§price: u64§budget: u64Trait Implementations§
Source§impl<'de> Deserialize<'de> for GasData
impl<'de> Deserialize<'de> for GasData
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<GasData> for GasPayment
impl From<GasData> for GasPayment
Source§impl From<GasPayment> for GasData
impl From<GasPayment> for GasData
Source§fn from(_: GasPayment) -> Self
fn from(_: GasPayment) -> Self
Converts to this type from the input type.
impl Eq for GasData
impl StructuralPartialEq for GasData
Auto Trait Implementations§
impl Freeze for GasData
impl RefUnwindSafe for GasData
impl Send for GasData
impl Sync for GasData
impl Unpin for GasData
impl UnwindSafe for GasData
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