pub struct ProposalWithdrawalsInner {
pub stake_address: String,
pub amount: String,
}Fields§
§stake_address: StringBech32 stake address
amount: StringWithdrawal amount in Lovelaces
Implementations§
Source§impl ProposalWithdrawalsInner
impl ProposalWithdrawalsInner
pub fn new(stake_address: String, amount: String) -> ProposalWithdrawalsInner
Trait Implementations§
Source§impl Clone for ProposalWithdrawalsInner
impl Clone for ProposalWithdrawalsInner
Source§fn clone(&self) -> ProposalWithdrawalsInner
fn clone(&self) -> ProposalWithdrawalsInner
Returns a duplicate 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 ProposalWithdrawalsInner
impl Debug for ProposalWithdrawalsInner
Source§impl Default for ProposalWithdrawalsInner
impl Default for ProposalWithdrawalsInner
Source§fn default() -> ProposalWithdrawalsInner
fn default() -> ProposalWithdrawalsInner
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ProposalWithdrawalsInner
impl<'de> Deserialize<'de> for ProposalWithdrawalsInner
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 ProposalWithdrawalsInner
impl PartialEq for ProposalWithdrawalsInner
Source§impl Serialize for ProposalWithdrawalsInner
impl Serialize for ProposalWithdrawalsInner
impl StructuralPartialEq for ProposalWithdrawalsInner
Auto Trait Implementations§
impl Freeze for ProposalWithdrawalsInner
impl RefUnwindSafe for ProposalWithdrawalsInner
impl Send for ProposalWithdrawalsInner
impl Sync for ProposalWithdrawalsInner
impl Unpin for ProposalWithdrawalsInner
impl UnwindSafe for ProposalWithdrawalsInner
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