[][src]Struct exonum_supervisor::StartService

pub struct StartService {
    pub artifact: ArtifactId,
    pub name: String,
    pub config: Vec<u8>,
}

Request for the artifact deployment.

Fields

artifact: ArtifactId

Artifact identifier.

name: String

Instance name.

config: Vec<u8>

Instance configuration.

Methods

impl StartService[src]

pub fn into_parts(self, id: InstanceId) -> (InstanceSpec, Vec<u8>)[src]

Given the instance ID, splits the StartService request into InstanceSpec and config value.

Trait Implementations

impl Clone for StartService[src]

impl Eq for StartService[src]

impl PartialEq<StartService> for StartService[src]

impl Debug for StartService[src]

impl Display for StartService

impl FromStr for StartService

type Err = Error

The associated error which can be returned from parsing.

impl Hash for StartService[src]

impl StructuralPartialEq for StartService[src]

impl StructuralEq for StartService[src]

impl ProtobufConvert for StartService[src]

type ProtoStruct = StartService

Type of the protobuf clone of Self

impl BinaryValue for StartService[src]

impl ObjectHash for StartService[src]

impl<'de> Deserialize<'de> for StartService

impl Serialize for StartService

impl FromHex for StartService

type Error = Error

impl ToHex for StartService

impl BinaryKey for StartService

Auto Trait Implementations

Blanket Implementations

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> ToString for T where
    T: Display + ?Sized
[src]

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

type Error = !

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]

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

impl<T> ToHex for T where
    T: AsRef<[u8]>, 
[src]

impl<T> Erased for T

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]