Struct reproto_core::RpServiceBody [] [src]

pub struct RpServiceBody<F: 'static> where
    F: Flavor
{ pub name: F::Name, pub ident: String, pub comment: Vec<String>, pub decls: Vec<RpDecl<F>>, pub http: RpServiceBodyHttp, pub endpoints: Vec<Loc<F::Endpoint>>, }

Fields

Trait Implementations

impl<F: Debug + 'static> Debug for RpServiceBody<F> where
    F: Flavor,
    F::Name: Debug,
    F::Endpoint: Debug
[src]

[src]

Formats the value using the given formatter. Read more

impl<F: Clone + 'static> Clone for RpServiceBody<F> where
    F: Flavor,
    F::Name: Clone,
    F::Endpoint: Clone
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<F: 'static, T> Translate<T> for RpServiceBody<F> where
    F: Flavor,
    T: Translator<Source = F>, 
[src]

[src]

Translate into different flavor.

Auto Trait Implementations

impl<F> Send for RpServiceBody<F> where
    <F as Flavor>::Endpoint: Send,
    <F as Flavor>::EnumType: Send,
    <F as Flavor>::Field: Send,
    <F as Flavor>::Name: Send

impl<F> Sync for RpServiceBody<F> where
    <F as Flavor>::Endpoint: Sync,
    <F as Flavor>::EnumType: Sync,
    <F as Flavor>::Field: Sync,
    <F as Flavor>::Name: Sync