Struct reproto_core::RpServiceEndpoint
[−]
[src]
pub struct RpServiceEndpoint {
pub method: Option<Loc<String>>,
pub path: RpPathSpec,
pub comment: Vec<String>,
pub accepts: Vec<RpServiceAccepts>,
pub returns: Vec<RpServiceReturns>,
}Fields
method: Option<Loc<String>>
path: RpPathSpec
comment: Vec<String>
accepts: Vec<RpServiceAccepts>
returns: Vec<RpServiceReturns>
Methods
impl RpServiceEndpoint[src]
fn url(&self) -> String
fn id_parts<F>(&self, filter: F) -> Vec<String> where
F: Fn(&str) -> String,
F: Fn(&str) -> String,
fn method(&self) -> Option<&str>
Trait Implementations
impl Debug for RpServiceEndpoint[src]
impl Clone for RpServiceEndpoint[src]
fn clone(&self) -> RpServiceEndpoint
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more