pub struct PreburnQueueResource { /* private fields */ }
Expand description
The preburn balance held under an account.
Implementations§
source§impl PreburnQueueResource
impl PreburnQueueResource
pub fn preburns(&self) -> &[PreburnWithMetadataResource]
pub fn struct_tag_for_currency(currency_typetag: TypeTag) -> StructTag
pub fn access_path_for(currency_typetag: TypeTag) -> Vec<u8> ⓘ
Trait Implementations§
source§impl Arbitrary for PreburnQueueResource
impl Arbitrary for PreburnQueueResource
§type Parameters = <Vec<PreburnWithMetadataResource, Global> as Arbitrary>::Parameters
type Parameters = <Vec<PreburnWithMetadataResource, Global> as Arbitrary>::Parameters
The type of parameters that
arbitrary_with
accepts for configuration
of the generated Strategy
. Parameters must implement Default
.§type Strategy = Map<<Vec<PreburnWithMetadataResource, Global> as Arbitrary>::Strategy, fn(_: Vec<PreburnWithMetadataResource, Global>) -> PreburnQueueResource>
type Strategy = Map<<Vec<PreburnWithMetadataResource, Global> as Arbitrary>::Strategy, fn(_: Vec<PreburnWithMetadataResource, Global>) -> PreburnQueueResource>
The type of
Strategy
used to generate values of type Self
.source§fn arbitrary_with(_top: Self::Parameters) -> Self::Strategy
fn arbitrary_with(_top: Self::Parameters) -> Self::Strategy
source§impl Debug for PreburnQueueResource
impl Debug for PreburnQueueResource
source§impl<'de> Deserialize<'de> for PreburnQueueResource
impl<'de> Deserialize<'de> for PreburnQueueResource
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 MoveResource for PreburnQueueResource
impl MoveResource for PreburnQueueResource
source§impl MoveStructType for PreburnQueueResource
impl MoveStructType for PreburnQueueResource
const MODULE_NAME: &'static IdentStr = DIEM_MODULE_IDENTIFIER
const STRUCT_NAME: &'static IdentStr = _
fn type_params() -> Vec<TypeTag> ⓘ
fn module_identifier() -> Identifier
fn struct_identifier() -> Identifier
fn struct_tag() -> StructTag
Auto Trait Implementations§
impl RefUnwindSafe for PreburnQueueResource
impl Send for PreburnQueueResource
impl Sync for PreburnQueueResource
impl Unpin for PreburnQueueResource
impl UnwindSafe for PreburnQueueResource
Blanket Implementations§
source§impl<T> TestOnlyHash for Twhere
T: Serialize + ?Sized,
impl<T> TestOnlyHash for Twhere T: Serialize + ?Sized,
source§fn test_only_hash(&self) -> HashValue
fn test_only_hash(&self) -> HashValue
Generates a hash used only for tests.