pub struct RegisterRequest {
pub id: String,
pub namespace: String,
pub capability_md_path: String,
pub capability_md: String,
}Fields§
§id: StringStable id, e.g. “webots_tiago_camera_front”. Empty => Atlas
assigns ephemeral-<uuid>. Convention: id matches the package instance’s
name: in the robot deployment manifest.
namespace: StringPrimary grouping namespace, e.g. “robonix/primitive/camera”. This is classification and diagnostics metadata, not an authorization boundary. Contracts normally live under this prefix. A contract may explicitly opt into cross-namespace use; any other mismatch is accepted with a warning so metadata mistakes remain visible without blocking startup.
capability_md_path: StringAbsolute path to the package’s CAPABILITY.md, in the provider’s own
filesystem namespace. Recorded for debugging only – it is NOT
portable: a provider running in a container reports a container path
(e.g. “/explore/CAPABILITY.md”) that Atlas and consumers on the host
cannot open. Use capability_md (the content) instead.
Empty => no markdown for this CapabilityProvider.
capability_md: StringThe CAPABILITY.md content (full markdown text), read by the
CapabilityProvider from its own filesystem at registration time –
where capability_md_path is always valid, even when the provider
runs in a container with a different mount layout than Atlas or its
consumers. This is the cross-host / cross-container-safe channel the
old capability_md_path comment anticipated: consumers (Pilot) use
this text instead of trying to open the path themselves.
Empty => no markdown for this CapabilityProvider.
Trait Implementations§
Source§impl Clone for RegisterRequest
impl Clone for RegisterRequest
Source§fn clone(&self) -> RegisterRequest
fn clone(&self) -> RegisterRequest
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for RegisterRequest
impl Debug for RegisterRequest
Source§impl Default for RegisterRequest
impl Default for RegisterRequest
Source§impl Hash for RegisterRequest
impl Hash for RegisterRequest
Source§impl Message for RegisterRequest
impl Message for RegisterRequest
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self. Read moreSource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self.Source§impl PartialEq for RegisterRequest
impl PartialEq for RegisterRequest
Source§fn eq(&self, other: &RegisterRequest) -> bool
fn eq(&self, other: &RegisterRequest) -> bool
self and other values to be equal, and is used by ==.impl Eq for RegisterRequest
impl StructuralPartialEq for RegisterRequest
Auto Trait Implementations§
impl Freeze for RegisterRequest
impl RefUnwindSafe for RegisterRequest
impl Send for RegisterRequest
impl Sync for RegisterRequest
impl Unpin for RegisterRequest
impl UnsafeUnpin for RegisterRequest
impl UnwindSafe for RegisterRequest
Blanket Implementations§
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request§impl<L> LayerExt<L> for L
impl<L> LayerExt<L> for L
§fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
Layered].