[][src]Struct exonum_supervisor::api::MigrationInfoQuery

pub struct MigrationInfoQuery {
    pub new_artifact: String,
    pub service: String,
    pub deadline_height: u64,
    pub seed: u64,
}

Query for retrieving information about migration state. This is flattened version of MigrationRequest which can be encoded via URL query parameters.

Fields

new_artifact: String

Artifact identifier as string, e.g. `0:exonum-supervisor:1.0.0"

service: String

Target service name.

deadline_height: u64

Deadline height.

seed: u64

Seed to allow several migrations with the same params.

Trait Implementations

impl Clone for MigrationInfoQuery[src]

impl Debug for MigrationInfoQuery[src]

impl<'de> Deserialize<'de> for MigrationInfoQuery[src]

impl From<MigrationRequest> for MigrationInfoQuery[src]

impl PartialEq<MigrationInfoQuery> for MigrationInfoQuery[src]

impl Serialize for MigrationInfoQuery[src]

impl StructuralPartialEq for MigrationInfoQuery[src]

impl TryFrom<MigrationInfoQuery> for MigrationRequest[src]

type Error = Error

The type returned in the event of a conversion error.

Auto Trait Implementations

Blanket Implementations

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

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

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

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

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

impl<T, U> Into<U> for T where
    U: From<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<V, T> VZip<V> for T where
    V: MultiLane<T>,