Struct diem_sdk::types::account_config::resources::VASPDomains
pub struct VASPDomains {
pub domains: Vec<VASPDomain, Global>,
}
Fields§
§domains: Vec<VASPDomain, Global>
Implementations§
§impl VASPDomains
impl VASPDomains
pub fn domains(&self) -> &[VASPDomain]
pub fn get_domains_list(&self) -> Vec<DiemIdVaspDomainIdentifier, Global> ⓘ
Trait Implementations§
§impl Clone for VASPDomains
impl Clone for VASPDomains
§fn clone(&self) -> VASPDomains
fn clone(&self) -> VASPDomains
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 VASPDomains
impl Debug for VASPDomains
§impl<'de> Deserialize<'de> for VASPDomains
impl<'de> Deserialize<'de> for VASPDomains
§fn deserialize<__D>(
__deserializer: __D
) -> Result<VASPDomains, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<VASPDomains, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl MoveResource for VASPDomains
impl MoveResource for VASPDomains
§impl MoveStructType for VASPDomains
impl MoveStructType for VASPDomains
const MODULE_NAME: &'static IdentStr = VASP_DOMAIN_MODULE_IDENTIFIER
const STRUCT_NAME: &'static IdentStr = { let s: &'static str = "VASPDomains"; 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 PartialEq<VASPDomains> for VASPDomains
impl PartialEq<VASPDomains> for VASPDomains
§fn eq(&self, other: &VASPDomains) -> bool
fn eq(&self, other: &VASPDomains) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.§impl Serialize for VASPDomains
impl Serialize for VASPDomains
§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
impl Eq for VASPDomains
impl StructuralEq for VASPDomains
impl StructuralPartialEq for VASPDomains
Auto Trait Implementations§
impl RefUnwindSafe for VASPDomains
impl Send for VASPDomains
impl Sync for VASPDomains
impl Unpin for VASPDomains
impl UnwindSafe for VASPDomains
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.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.