Enum hedera::FeeDataType
source · #[non_exhaustive]pub enum FeeDataType {
Default,
TokenFungibleCommon,
TokenNonFungibleUnique,
TokenFungibleCommonWithCustomFees,
TokenNonFungibleUniqueWithCustomFees,
ScheduleCreateContractCall,
}
Expand description
Possible FeeData
subtypes.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Default
The resource prices have no special scope.
TokenFungibleCommon
The resource prices are scoped to an operation on a fungible token.
TokenNonFungibleUnique
The resource prices are scoped to an operation on a non-fungible token.
TokenFungibleCommonWithCustomFees
The resource prices are scoped to an operation on a fungible token with a custom fee schedule.
TokenNonFungibleUniqueWithCustomFees
The resource prices are scoped to an operation on a non-fungible token with a custom fee schedule.
ScheduleCreateContractCall
The resource prices are scoped to a ScheduleCreateTransaction
containing a ContractExecuteTransaction
.
Trait Implementations§
source§impl Clone for FeeDataType
impl Clone for FeeDataType
source§fn clone(&self) -> FeeDataType
fn clone(&self) -> FeeDataType
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 Debug for FeeDataType
impl Debug for FeeDataType
source§impl PartialEq for FeeDataType
impl PartialEq for FeeDataType
source§fn eq(&self, other: &FeeDataType) -> bool
fn eq(&self, other: &FeeDataType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for FeeDataType
impl StructuralPartialEq for FeeDataType
Auto Trait Implementations§
impl Freeze for FeeDataType
impl RefUnwindSafe for FeeDataType
impl Send for FeeDataType
impl Sync for FeeDataType
impl Unpin for FeeDataType
impl UnwindSafe for FeeDataType
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request