pub struct EventsBuilder<'a, Event: PaymentEvent> { /* private fields */ }
Implementations§
Source§impl<'a, EvType: PaymentEvent> EventsBuilder<'a, EvType>
impl<'a, EvType: PaymentEvent> EventsBuilder<'a, EvType>
pub fn after_timestamp<Tz: TimeZone>(self, ts: &DateTime<Tz>) -> Self
pub fn timeout(self, timeout: Duration) -> Self
pub fn max_events(self, max_events: u32) -> Self
pub fn provider_events( self, events: impl IntoIterator<Item = impl Borrow<EvType::EventType>>, ) -> Self
pub fn requestor_events( self, events: impl IntoIterator<Item = impl Borrow<EvType::EventType>>, ) -> Self
pub async fn get(self) -> Result<Vec<EvType>>
Auto Trait Implementations§
impl<'a, Event> Freeze for EventsBuilder<'a, Event>
impl<'a, Event> !RefUnwindSafe for EventsBuilder<'a, Event>
impl<'a, Event> !Send for EventsBuilder<'a, Event>
impl<'a, Event> !Sync for EventsBuilder<'a, Event>
impl<'a, Event> Unpin for EventsBuilder<'a, Event>where
Event: Unpin,
impl<'a, Event> !UnwindSafe for EventsBuilder<'a, Event>
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