pub struct ValidatorConfigResource {
pub validator_config: Option<ValidatorConfig>,
pub delegated_account: Option<AccountAddress>,
pub human_name: Vec<u8>,
}
Fields§
§validator_config: Option<ValidatorConfig>
§delegated_account: Option<AccountAddress>
§human_name: Vec<u8>
Trait Implementations§
source§impl Clone for ValidatorConfigResource
impl Clone for ValidatorConfigResource
source§fn clone(&self) -> ValidatorConfigResource
fn clone(&self) -> ValidatorConfigResource
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 ValidatorConfigResource
impl Debug for ValidatorConfigResource
source§impl Default for ValidatorConfigResource
impl Default for ValidatorConfigResource
source§fn default() -> ValidatorConfigResource
fn default() -> ValidatorConfigResource
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ValidatorConfigResource
impl<'de> Deserialize<'de> for ValidatorConfigResource
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 ValidatorConfigResource
impl MoveResource for ValidatorConfigResource
source§impl MoveStructType for ValidatorConfigResource
impl MoveStructType for ValidatorConfigResource
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
source§impl PartialEq<ValidatorConfigResource> for ValidatorConfigResource
impl PartialEq<ValidatorConfigResource> for ValidatorConfigResource
source§fn eq(&self, other: &ValidatorConfigResource) -> bool
fn eq(&self, other: &ValidatorConfigResource) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ValidatorConfigResource
impl Serialize for ValidatorConfigResource
impl Eq for ValidatorConfigResource
impl StructuralEq for ValidatorConfigResource
impl StructuralPartialEq for ValidatorConfigResource
Auto Trait Implementations§
impl RefUnwindSafe for ValidatorConfigResource
impl Send for ValidatorConfigResource
impl Sync for ValidatorConfigResource
impl Unpin for ValidatorConfigResource
impl UnwindSafe for ValidatorConfigResource
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> 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.