pub struct ValidatorDescription {
pub details: String,
pub identity: String,
pub moniker: String,
pub security_contact: String,
pub website: String,
}
Expand description
Description of the validator which appears in public on MsgEditValidator messages for fields that don’t change you should put “[do-not-modify]”
Fields§
§details: String
§identity: String
§moniker: String
§security_contact: String
§website: String
Implementations§
Source§impl ValidatorDescription
impl ValidatorDescription
pub fn create_create( details: Option<String>, identity: Option<String>, moniker: String, security_contact: Option<String>, website: Option<String>, ) -> ValidatorDescription
pub fn create_edit( details: Option<String>, identity: Option<String>, moniker: Option<String>, security_contact: Option<String>, website: Option<String>, ) -> ValidatorDescription
Trait Implementations§
Source§impl Debug for ValidatorDescription
impl Debug for ValidatorDescription
Source§impl<'de> Deserialize<'de> for ValidatorDescription
impl<'de> Deserialize<'de> for ValidatorDescription
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
Auto Trait Implementations§
impl Freeze for ValidatorDescription
impl RefUnwindSafe for ValidatorDescription
impl Send for ValidatorDescription
impl Sync for ValidatorDescription
impl Unpin for ValidatorDescription
impl UnwindSafe for ValidatorDescription
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more