pub struct ServiceProcedure {
pub path: String,
pub kind: String,
pub key: String,
pub request: Option<String>,
pub reply: Option<String>,
pub fanout: Option<String>,
pub idempotent: Option<bool>,
pub encoding: Option<String>,
pub since: Option<String>,
pub description: Option<String>,
}Expand description
One procedure, with everything the registry declares about it and the key shape a caller would actually use (issue #211).
Fields§
§path: String§kind: String§key: StringThe base-relative @rpc key this procedure answers on, with {origin}
standing for the publishing identity. A service origin has no producer
chunk (RFC 06 §5), so the two shapes genuinely differ and the reader
should not have to reconstruct which applies.
request: Option<String>§reply: Option<String>§fanout: Option<String>forbidden means the fleet spelling does not exist for this procedure
(RFC 08 §1.1 G2) — worth seeing before reaching for *.
idempotent: Option<bool>§encoding: Option<String>§since: Option<String>§description: Option<String>Trait Implementations§
Source§impl Clone for ServiceProcedure
impl Clone for ServiceProcedure
Source§fn clone(&self) -> ServiceProcedure
fn clone(&self) -> ServiceProcedure
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ServiceProcedure
impl Debug for ServiceProcedure
Auto Trait Implementations§
impl Freeze for ServiceProcedure
impl RefUnwindSafe for ServiceProcedure
impl Send for ServiceProcedure
impl Sync for ServiceProcedure
impl Unpin for ServiceProcedure
impl UnsafeUnpin for ServiceProcedure
impl UnwindSafe for ServiceProcedure
Blanket Implementations§
Source§impl<Source> AccessAs for Source
impl<Source> AccessAs for Source
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more