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
name: F::Name
ident: String
comment: Vec<String>
decls: Vec<RpDecl<F>>
http: RpServiceBodyHttp
endpoints: Vec<Loc<F::Endpoint>>
Trait Implementations
impl<F: Debug + 'static> Debug for RpServiceBody<F> where
F: Flavor,
F::Name: Debug,
F::Endpoint: Debug,
[src]
F: Flavor,
F::Name: Debug,
F::Endpoint: Debug,
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[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]
F: Flavor,
F::Name: Clone,
F::Endpoint: Clone,
fn clone(&self) -> RpServiceBody<F>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
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]
F: Flavor,
T: Translator<Source = F>,
type Source = F
type Out = RpServiceBody<T::Target>
fn translate(self, translator: &T) -> Result<RpServiceBody<T::Target>>
[src]
Translate into different flavor.