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
[src]
fn id_parts<F>(&self, filter: F) -> Vec<String> where
F: Fn(&str) -> String,
[src]
F: Fn(&str) -> String,
fn method(&self) -> Option<&str>
[src]
Trait Implementations
impl Debug for RpServiceEndpoint
[src]
impl Clone for RpServiceEndpoint
[src]
fn clone(&self) -> RpServiceEndpoint
[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