Struct diem_types::account_config::resources::vasp::ChildVASP
source · pub struct ChildVASP { /* private fields */ }
Implementations§
source§impl ChildVASP
impl ChildVASP
pub fn parent_vasp_addr(&self) -> AccountAddress
Trait Implementations§
source§impl Arbitrary for ChildVASP
impl Arbitrary for ChildVASP
§type Parameters = <AccountAddress as Arbitrary>::Parameters
type Parameters = <AccountAddress as Arbitrary>::Parameters
The type of parameters that
arbitrary_with
accepts for configuration
of the generated Strategy
. Parameters must implement Default
.§type Strategy = Map<<AccountAddress as Arbitrary>::Strategy, fn(_: AccountAddress) -> ChildVASP>
type Strategy = Map<<AccountAddress as Arbitrary>::Strategy, fn(_: AccountAddress) -> ChildVASP>
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<'de> Deserialize<'de> for ChildVASP
impl<'de> Deserialize<'de> for ChildVASP
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 MoveStructType for ChildVASP
impl MoveStructType for ChildVASP
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 ChildVASP
impl Send for ChildVASP
impl Sync for ChildVASP
impl Unpin for ChildVASP
impl UnwindSafe for ChildVASP
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.