[][src]Struct interledger_service::IncomingRequest

pub struct IncomingRequest<A: Account> {
    pub from: A,
    pub prepare: Prepare,
}

A struct representing an incoming ILP Prepare packet or an outgoing one before the next hop is set.

Fields

from: Aprepare: Prepare

Methods

impl<A> IncomingRequest<A> where
    A: Account
[src]

Set the to Account and turn this into an OutgoingRequest

pub fn into_outgoing(self, to: A) -> OutgoingRequest<A>[src]

Trait Implementations

impl<A: Clone + Account> Clone for IncomingRequest<A>[src]

impl<A> Debug for IncomingRequest<A> where
    A: Account
[src]

Auto Trait Implementations

impl<A> Send for IncomingRequest<A>

impl<A> Sync for IncomingRequest<A> where
    A: Sync

impl<A> Unpin for IncomingRequest<A> where
    A: Unpin

impl<A> UnwindSafe for IncomingRequest<A> where
    A: UnwindSafe

impl<A> RefUnwindSafe for IncomingRequest<A> where
    A: RefUnwindSafe

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]