Struct terra_rust_api::messages::staking::ValidatorDescription [−][src]
pub struct ValidatorDescription { pub details: String, pub identity: String, pub security_contact: String, pub moniker: 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
security_contact: String
moniker: String
website: String
Implementations
impl ValidatorDescription
[src]
impl ValidatorDescription
[src]pub fn create_create(
moniker: String,
identity: Option<String>,
website: Option<String>,
security_contact: Option<String>,
details: Option<String>
) -> ValidatorDescription
[src]
moniker: String,
identity: Option<String>,
website: Option<String>,
security_contact: Option<String>,
details: Option<String>
) -> ValidatorDescription
pub fn create_edit(
moniker: String,
identity: Option<String>,
website: Option<String>,
security_contact: Option<String>,
details: Option<String>
) -> ValidatorDescription
[src]
moniker: String,
identity: Option<String>,
website: Option<String>,
security_contact: Option<String>,
details: Option<String>
) -> ValidatorDescription
Trait Implementations
impl Debug for ValidatorDescription
[src]
impl Debug for ValidatorDescription
[src]impl<'de> Deserialize<'de> for ValidatorDescription
[src]
impl<'de> Deserialize<'de> for ValidatorDescription
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
impl Serialize for ValidatorDescription
[src]
impl Serialize for ValidatorDescription
[src]Auto Trait Implementations
impl RefUnwindSafe for ValidatorDescription
impl Send for ValidatorDescription
impl Sync for ValidatorDescription
impl Unpin for ValidatorDescription
impl UnwindSafe for ValidatorDescription
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
fn in_current_span(self) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
type Output = T
Should always be Self
impl<T> Serialize for T where
T: Serialize + ?Sized,
[src]
impl<T> Serialize for T where
T: Serialize + ?Sized,
[src]pub fn erased_serialize(
&self,
serializer: &mut dyn Serializer
) -> Result<Ok, Error>
[src]
&self,
serializer: &mut dyn Serializer
) -> Result<Ok, Error>
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
pub fn vzip(self) -> V
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,