[][src]Struct interledger_ccp::RouteControlRequest

pub struct RouteControlRequest {
    pub mode: Mode,
    pub last_known_routing_table_id: [u8; 16],
    pub last_known_epoch: u32,
    pub features: Vec<String>,
}

Fields

mode: Modelast_known_routing_table_id: [u8; 16]last_known_epoch: u32features: Vec<String>

Methods

impl RouteControlRequest[src]

pub fn to_prepare(&self) -> Prepare[src]

Trait Implementations

impl Clone for RouteControlRequest[src]

impl PartialEq<RouteControlRequest> for RouteControlRequest[src]

impl Debug for RouteControlRequest[src]

impl<'_> TryFrom<&'_ Prepare> for RouteControlRequest[src]

type Error = ParseError

The type returned in the event of a conversion error.

impl StructuralPartialEq for RouteControlRequest[src]

Auto Trait Implementations

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]