fuel_gql_client::client::schema::tx::transparent_tx

Struct Transaction

Source
pub struct Transaction {
Show 22 fields pub gas_limit: Option<U64>, pub gas_price: Option<U64>, pub id: TransactionId, pub tx_pointer: Option<TxPointer>, pub input_asset_ids: Option<Vec<AssetId>>, pub input_contracts: Option<Vec<ContractIdFragment>>, pub inputs: Option<Vec<Input>>, pub is_script: bool, pub is_create: bool, pub is_mint: bool, pub outputs: Vec<Output>, pub maturity: Option<U64>, pub receipts_root: Option<Bytes32>, pub status: Option<TransactionStatus>, pub witnesses: Option<Vec<HexString>>, pub receipts: Option<Vec<Receipt>>, pub script: Option<HexString>, pub script_data: Option<HexString>, pub salt: Option<Salt>, pub storage_slots: Option<Vec<HexString>>, pub bytecode_witness_index: Option<i32>, pub bytecode_length: Option<U64>,
}

Fields§

§gas_limit: Option<U64>§gas_price: Option<U64>§id: TransactionId§tx_pointer: Option<TxPointer>§input_asset_ids: Option<Vec<AssetId>>§input_contracts: Option<Vec<ContractIdFragment>>§inputs: Option<Vec<Input>>§is_script: bool§is_create: bool§is_mint: bool§outputs: Vec<Output>§maturity: Option<U64>§receipts_root: Option<Bytes32>§status: Option<TransactionStatus>§witnesses: Option<Vec<HexString>>§receipts: Option<Vec<Receipt>>§script: Option<HexString>§script_data: Option<HexString>§salt: Option<Salt>§storage_slots: Option<Vec<HexString>>§bytecode_witness_index: Option<i32>§bytecode_length: Option<U64>

Trait Implementations§

Source§

impl Debug for Transaction

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for Transaction

Source§

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<'de> QueryFragment<'de> for Transaction

Source§

const TYPE: Option<&'static str>

The name of the type in the GraphQL schema
Source§

type SchemaType = Transaction

The type in a schema that this QueryFragment represents
Source§

type Variables = ()

The variables that are required to execute this QueryFragment
Source§

fn query(builder: SelectionBuilder<'_, Self::SchemaType, Self::Variables>)

Adds this fragment to the query being built by builder
Source§

impl TryFrom<Transaction> for Transaction

Source§

type Error = ConversionError

The type returned in the event of a conversion error.
Source§

fn try_from(tx: Transaction) -> Result<Self, Self::Error>

Performs the conversion.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<'a, T> StorageAsMut for T

Source§

fn storage<Type>(&mut self) -> StorageMut<'_, Self, Type>
where Type: Mappable,

Source§

impl<'a, T> StorageAsRef for T

Source§

fn storage<Type>(&self) -> StorageRef<'_, Self, Type>
where Type: Mappable,

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V

Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

Source§

impl<T> ErasedDestructor for T
where T: 'static,

Source§

impl<T> IsFieldType<T> for T

Source§

impl<T> MaybeSendSync for T