pub struct ProposalParameters {
pub tx_hash: String,
pub cert_index: i32,
pub parameters: Box<ProposalParametersParameters>,
}Fields§
§tx_hash: StringOff-chain metadata of a proposal with a specific transaction hash
cert_index: i32Off-chain metadata of a proposal with a specific transaction cert_index
parameters: Box<ProposalParametersParameters>Implementations§
Source§impl ProposalParameters
impl ProposalParameters
pub fn new( tx_hash: String, cert_index: i32, parameters: ProposalParametersParameters, ) -> ProposalParameters
Trait Implementations§
Source§impl Clone for ProposalParameters
impl Clone for ProposalParameters
Source§fn clone(&self) -> ProposalParameters
fn clone(&self) -> ProposalParameters
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 ProposalParameters
impl Debug for ProposalParameters
Source§impl Default for ProposalParameters
impl Default for ProposalParameters
Source§fn default() -> ProposalParameters
fn default() -> ProposalParameters
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ProposalParameters
impl<'de> Deserialize<'de> for ProposalParameters
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 PartialEq for ProposalParameters
impl PartialEq for ProposalParameters
Source§impl Serialize for ProposalParameters
impl Serialize for ProposalParameters
impl StructuralPartialEq for ProposalParameters
Auto Trait Implementations§
impl Freeze for ProposalParameters
impl RefUnwindSafe for ProposalParameters
impl Send for ProposalParameters
impl Sync for ProposalParameters
impl Unpin for ProposalParameters
impl UnwindSafe for ProposalParameters
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