pub struct PayoutLine {
pub round_id: i64,
pub address: String,
pub share: i64,
pub amount_wei: String,
pub username: Option<String>,
pub avatar: Option<String>,
}Expand description
One recipient’s line in a round.
Fields§
§round_id: i64Round this line belongs to.
address: StringRecipient wallet address.
The recipient’s fraction of 2^32, exactly as committed on-chain.
amount_wei: StringExact wei as a decimal string.
username: Option<String>Recipient’s display name, when set.
avatar: Option<String>Recipient’s avatar URL, when set.
Trait Implementations§
Source§impl Clone for PayoutLine
impl Clone for PayoutLine
Source§impl Debug for PayoutLine
impl Debug for PayoutLine
Source§impl<'de> Deserialize<'de> for PayoutLine
impl<'de> Deserialize<'de> for PayoutLine
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 PayoutLine
impl RefUnwindSafe for PayoutLine
impl Send for PayoutLine
impl Sync for PayoutLine
impl Unpin for PayoutLine
impl UnsafeUnpin for PayoutLine
impl UnwindSafe for PayoutLine
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