Struct pluralistic_rs::Contribution
source · pub struct Contribution {
pub recipient: String,
pub amount: f64,
pub sender: String,
}
Fields§
§recipient: String
§amount: f64
§sender: String
Trait Implementations§
source§impl Clone for Contribution
impl Clone for Contribution
source§fn clone(&self) -> Contribution
fn clone(&self) -> Contribution
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 moreAuto Trait Implementations§
impl RefUnwindSafe for Contribution
impl Send for Contribution
impl Sync for Contribution
impl Unpin for Contribution
impl UnwindSafe for Contribution
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