pub struct Payments(/* private fields */);Implementations§
Source§impl Payments
impl Payments
pub fn builder() -> PaymentsBuilder
pub fn new(payments: &[Payment]) -> Self
pub fn who_pays_whom(&self) -> Result<Obligations, SolverError>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Payments
impl RefUnwindSafe for Payments
impl Send for Payments
impl Sync for Payments
impl Unpin for Payments
impl UnwindSafe for Payments
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