Struct diem_sdk::types::account_config::CRSNResource
pub struct CRSNResource { /* private fields */ }
Implementations§
Trait Implementations§
§impl Arbitrary for CRSNResource
impl Arbitrary for CRSNResource
§type Parameters = (<u64 as Arbitrary>::Parameters, <u64 as Arbitrary>::Parameters, <Vec<u8, Global> as Arbitrary>::Parameters)
type Parameters = (<u64 as Arbitrary>::Parameters, <u64 as Arbitrary>::Parameters, <Vec<u8, 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<(<u64 as Arbitrary>::Strategy, <u64 as Arbitrary>::Strategy, <Vec<u8, Global> as Arbitrary>::Strategy), fn(_: (u64, u64, Vec<u8, Global>)) -> CRSNResource>
type Strategy = Map<(<u64 as Arbitrary>::Strategy, <u64 as Arbitrary>::Strategy, <Vec<u8, Global> as Arbitrary>::Strategy), fn(_: (u64, u64, Vec<u8, Global>)) -> CRSNResource>
The type of
Strategy
used to generate values of type Self
.§fn arbitrary_with(
_top: <CRSNResource as Arbitrary>::Parameters
) -> <CRSNResource as Arbitrary>::Strategy
fn arbitrary_with( _top: <CRSNResource as Arbitrary>::Parameters ) -> <CRSNResource as Arbitrary>::Strategy
§impl Clone for CRSNResource
impl Clone for CRSNResource
§fn clone(&self) -> CRSNResource
fn clone(&self) -> CRSNResource
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 more§impl Debug for CRSNResource
impl Debug for CRSNResource
§impl<'de> Deserialize<'de> for CRSNResource
impl<'de> Deserialize<'de> for CRSNResource
§fn deserialize<__D>(
__deserializer: __D
) -> Result<CRSNResource, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<CRSNResource, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl MoveResource for CRSNResource
impl MoveResource for CRSNResource
§impl MoveStructType for CRSNResource
impl MoveStructType for CRSNResource
const MODULE_NAME: &'static IdentStr = { let s: &'static str = "CRSN"; 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) } }
const STRUCT_NAME: &'static IdentStr = { let s: &'static str = "CRSN"; 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 module_identifier() -> Identifier
fn struct_identifier() -> Identifier
fn type_params() -> Vec<TypeTag, Global> ⓘ
fn struct_tag() -> StructTag
§impl Serialize for CRSNResource
impl Serialize for CRSNResource
§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 CRSNResource
impl Send for CRSNResource
impl Sync for CRSNResource
impl Unpin for CRSNResource
impl UnwindSafe for CRSNResource
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.