[−][src]Struct exonum_rust_runtime::ArtifactProtobufSpec
Artifact Protobuf specification for the Exonum clients.
Fields (Non-exhaustive)
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.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 = ProtoSourceFile>,
includes: impl IntoIterator<Item = ProtoSourceFile>
) -> Self
[src]
sources: impl IntoIterator<Item = ProtoSourceFile>,
includes: impl IntoIterator<Item = ProtoSourceFile>
) -> Self
Creates a new artifact Protobuf specification instance from the given list of Protobuf sources and includes.
Trait Implementations
impl Clone for ArtifactProtobufSpec
[src]
fn clone(&self) -> ArtifactProtobufSpec
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ArtifactProtobufSpec
[src]
impl Default for ArtifactProtobufSpec
[src]
fn default() -> ArtifactProtobufSpec
[src]
impl PartialEq<ArtifactProtobufSpec> for ArtifactProtobufSpec
[src]
fn eq(&self, other: &ArtifactProtobufSpec) -> bool
[src]
fn ne(&self, other: &ArtifactProtobufSpec) -> bool
[src]
impl StructuralPartialEq for ArtifactProtobufSpec
[src]
Auto Trait Implementations
impl RefUnwindSafe for ArtifactProtobufSpec
impl Send for ArtifactProtobufSpec
impl Sync for ArtifactProtobufSpec
impl Unpin for ArtifactProtobufSpec
impl UnwindSafe for ArtifactProtobufSpec
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Clear for T where
T: InitializableFromZeroed + ?Sized,
T: InitializableFromZeroed + ?Sized,
fn clear(&mut self)
impl<T> From<T> for T
[src]
impl<T> InitializableFromZeroed for T where
T: Default,
T: Default,
unsafe fn initialize(place: *mut T)
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,