[][src]Struct exonum_rust_runtime::ArtifactProtobufSpec

pub struct ArtifactProtobufSpec {
    pub sources: Vec<ProtoSourceFile>,
    pub includes: Vec<ProtoSourceFile>,
}

Artifact Protobuf specification for the Exonum clients.

Fields

sources: Vec<ProtoSourceFile>

List of Protobuf files that make up the service interface.

The common interface entry point is always in the service.proto file. Entry point contains descriptions of the service transactions and configuration parameters. Message with the configuration parameters should be named as Config.

includes: Vec<ProtoSourceFile>

List of service's proto include files.

Methods

impl ArtifactProtobufSpec[src]

pub fn new(
    sources: impl IntoIterator<Item = impl Into<ProtoSourceFile>>,
    includes: impl IntoIterator<Item = impl Into<ProtoSourceFile>>
) -> Self
[src]

Creates a new artifact Protobuf specification instance from the given list of Protobuf sources and includes.

Trait Implementations

impl Clone for ArtifactProtobufSpec[src]

impl Debug for ArtifactProtobufSpec[src]

impl Default for ArtifactProtobufSpec[src]

impl PartialEq<ArtifactProtobufSpec> for ArtifactProtobufSpec[src]

impl StructuralPartialEq for ArtifactProtobufSpec[src]

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> Clear for T where
    T: InitializableFromZeroed + ?Sized

impl<T> Erased for T

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

impl<T> InitializableFromZeroed for T where
    T: Default

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>,