pub struct SettlementSchedule { /* private fields */ }Expand description
Result of schedule.
Implementations§
Source§impl SettlementSchedule
impl SettlementSchedule
Sourcepub const fn after_handler(&self) -> AfterHandler
pub const fn after_handler(&self) -> AfterHandler
After-handler action.
Sourcepub const fn attach_receipt(&self) -> bool
pub const fn attach_receipt(&self) -> bool
Whether a Payment-Response receipt should be attached (false for Background).
Sourcepub const fn mode(&self) -> SettlementMode
pub const fn mode(&self) -> SettlementMode
Settlement mode this schedule was built from.
Sourcepub const fn phases(&self) -> PaymentFlowPhases
pub const fn phases(&self) -> PaymentFlowPhases
Payment-flow phases this schedule was built from.
Sourcepub fn with_tracker(self, tracker: BackgroundSettlementTracker) -> Self
pub fn with_tracker(self, tracker: BackgroundSettlementTracker) -> Self
Attaches a background in-flight tracker (used by run for AfterHandler::SpawnSettle).
Trait Implementations§
Source§impl Clone for SettlementSchedule
impl Clone for SettlementSchedule
Source§fn clone(&self) -> SettlementSchedule
fn clone(&self) -> SettlementSchedule
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 Freeze for SettlementSchedule
impl RefUnwindSafe for SettlementSchedule
impl Send for SettlementSchedule
impl Sync for SettlementSchedule
impl Unpin for SettlementSchedule
impl UnsafeUnpin for SettlementSchedule
impl UnwindSafe for SettlementSchedule
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