Struct diem_sdk::types::account_config::PreburnQueueResource
pub struct PreburnQueueResource { /* private fields */ }
Expand description
The preburn balance held under an account.
Implementations§
§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, Global> ⓘ
Trait Implementations§
§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
.§fn arbitrary_with(
_top: <PreburnQueueResource as Arbitrary>::Parameters
) -> <PreburnQueueResource as Arbitrary>::Strategy
fn arbitrary_with( _top: <PreburnQueueResource as Arbitrary>::Parameters ) -> <PreburnQueueResource as Arbitrary>::Strategy
§impl Debug for PreburnQueueResource
impl Debug for PreburnQueueResource
§impl<'de> Deserialize<'de> for PreburnQueueResource
impl<'de> Deserialize<'de> for PreburnQueueResource
§fn deserialize<__D>(
__deserializer: __D
) -> Result<PreburnQueueResource, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<PreburnQueueResource, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl MoveResource for PreburnQueueResource
impl MoveResource for PreburnQueueResource
§impl MoveStructType for PreburnQueueResource
impl MoveStructType for PreburnQueueResource
const MODULE_NAME: &'static IdentStr = DIEM_MODULE_IDENTIFIER
const STRUCT_NAME: &'static IdentStr = { let s: &'static str = "PreburnQueue"; let is_valid = ::move_core_types::identifier::is_valid(s); ["String is not a valid Move identifier"][!is_valid as usize]; unsafe { ::std::mem::transmute::<&'static str, &'static ::move_core_types::identifier::IdentStr>(s) } }
fn type_params() -> Vec<TypeTag, Global> ⓘ
fn module_identifier() -> Identifier
fn struct_identifier() -> Identifier
fn struct_tag() -> StructTag
§impl Serialize for PreburnQueueResource
impl Serialize for PreburnQueueResource
§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where __S: Serializer,
Serialize this value into the given Serde serializer. Read more
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> 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>
§impl<T> TestOnlyHash for Twhere
T: Serialize + ?Sized,
impl<T> TestOnlyHash for Twhere T: Serialize + ?Sized,
§fn test_only_hash(&self) -> HashValue
fn test_only_hash(&self) -> HashValue
Generates a hash used only for tests.