Struct diem_types::account_config::resources::crsn::CRSNResource
source · pub struct CRSNResource { /* private fields */ }
Implementations§
Trait Implementations§
source§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
.source§fn arbitrary_with(_top: Self::Parameters) -> Self::Strategy
fn arbitrary_with(_top: Self::Parameters) -> Self::Strategy
source§impl Clone for CRSNResource
impl Clone for CRSNResource
source§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 moresource§impl Debug for CRSNResource
impl Debug for CRSNResource
source§impl<'de> Deserialize<'de> for CRSNResource
impl<'de> Deserialize<'de> for CRSNResource
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 CRSNResource
impl MoveResource for CRSNResource
source§impl MoveStructType for CRSNResource
impl MoveStructType for CRSNResource
const MODULE_NAME: &'static IdentStr = _
const STRUCT_NAME: &'static IdentStr = _
fn module_identifier() -> Identifier
fn struct_identifier() -> Identifier
fn type_params() -> Vec<TypeTag, Global> ⓘ
fn struct_tag() -> StructTag
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> 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.