pub struct NoConfidenceProposal { /* private fields */ }
Implementations§
source§impl NoConfidenceProposal
impl NoConfidenceProposal
pub fn from_bytes( bytes: Vec<u8> ) -> Result<NoConfidenceProposal, DeserializeError>
source§impl NoConfidenceProposal
impl NoConfidenceProposal
pub fn from_hex(hex_str: &str) -> Result<NoConfidenceProposal, DeserializeError>
source§impl NoConfidenceProposal
impl NoConfidenceProposal
pub fn gov_action_id(&self) -> Option<GovernanceActionId>
pub fn new() -> Self
pub fn new_with_action_id(gov_action_id: &GovernanceActionId) -> Self
Trait Implementations§
source§impl Clone for NoConfidenceProposal
impl Clone for NoConfidenceProposal
source§fn clone(&self) -> NoConfidenceProposal
fn clone(&self) -> NoConfidenceProposal
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 NoConfidenceProposal
impl Debug for NoConfidenceProposal
source§impl<'de> Deserialize<'de> for NoConfidenceProposal
impl<'de> Deserialize<'de> for NoConfidenceProposal
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 Hash for NoConfidenceProposal
impl Hash for NoConfidenceProposal
source§impl JsonSchema for NoConfidenceProposal
impl JsonSchema for NoConfidenceProposal
source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
source§fn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref
keyword. Read moresource§impl Ord for NoConfidenceProposal
impl Ord for NoConfidenceProposal
source§fn cmp(&self, other: &NoConfidenceProposal) -> Ordering
fn cmp(&self, other: &NoConfidenceProposal) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<NoConfidenceProposal> for NoConfidenceProposal
impl PartialEq<NoConfidenceProposal> for NoConfidenceProposal
source§fn eq(&self, other: &NoConfidenceProposal) -> bool
fn eq(&self, other: &NoConfidenceProposal) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<NoConfidenceProposal> for NoConfidenceProposal
impl PartialOrd<NoConfidenceProposal> for NoConfidenceProposal
source§fn partial_cmp(&self, other: &NoConfidenceProposal) -> Option<Ordering>
fn partial_cmp(&self, other: &NoConfidenceProposal) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for NoConfidenceProposal
impl Serialize for NoConfidenceProposal
fn serialize<'se, W: Write>( &self, serializer: &'se mut Serializer<W> ) -> Result<&'se mut Serializer<W>>
source§impl Serialize for NoConfidenceProposal
impl Serialize for NoConfidenceProposal
impl Eq for NoConfidenceProposal
impl StructuralEq for NoConfidenceProposal
impl StructuralPartialEq for NoConfidenceProposal
Auto Trait Implementations§
impl RefUnwindSafe for NoConfidenceProposal
impl Send for NoConfidenceProposal
impl Sync for NoConfidenceProposal
impl Unpin for NoConfidenceProposal
impl UnwindSafe for NoConfidenceProposal
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