[][src]Struct prost_build::Service

pub struct Service {
    pub name: String,
    pub proto_name: String,
    pub package: String,
    pub comments: Comments,
    pub methods: Vec<Method>,
    pub options: ServiceOptions,
}

A service descriptor.

Fields

name: String

The service name in Rust style.

proto_name: String

The service name as it appears in the .proto file.

package: String

The package name as it appears in the .proto file.

comments: Comments

The service comments.

methods: Vec<Method>

The service methods.

options: ServiceOptions

The service options.

Trait Implementations

impl Debug for Service[src]

Auto Trait Implementations

impl RefUnwindSafe for Service

impl Send for Service

impl Sync for Service

impl Unpin for Service

impl UnwindSafe for Service

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> From<T> for T[src]

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

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