pub struct EntityMetadata {Show 26 fields
pub slot: Option<EntitySlot>,
pub id: MetadataString,
pub node_slot: Option<NodeSlot>,
pub node_id: MetadataString,
pub kind: EntityKind,
pub source_name: MetadataString,
pub source_name_kind: SourceNameKind,
pub type_name: &'static str,
pub type_hash: &'static str,
pub qos: QosSettings,
pub callback_slot: Option<CallbackSlot>,
pub callback_id: Option<MetadataString>,
pub callback_source: SourceLocationMetadata,
pub callback_group: Option<MetadataString>,
pub action_cancel_callback_slot: Option<CallbackSlot>,
pub action_cancel_callback_id: Option<MetadataString>,
pub action_cancel_source: SourceLocationMetadata,
pub action_accepted_callback_slot: Option<CallbackSlot>,
pub action_accepted_callback_id: Option<MetadataString>,
pub action_accepted_source: SourceLocationMetadata,
pub period_ms: Option<u64>,
pub parameter_type: Option<ParameterType>,
pub parameter_default: Option<ParameterDefault>,
pub parameter_read_only: bool,
pub safety: bool,
pub source: SourceLocationMetadata,
}Expand description
Recorded entity declaration.
Fields§
§slot: Option<EntitySlot>§id: MetadataString§node_slot: Option<NodeSlot>§node_id: MetadataString§kind: EntityKind§source_name: MetadataString§source_name_kind: SourceNameKind§type_name: &'static str§type_hash: &'static str§qos: QosSettings§callback_slot: Option<CallbackSlot>§callback_id: Option<MetadataString>§callback_source: SourceLocationMetadata§callback_group: Option<MetadataString>§action_cancel_callback_slot: Option<CallbackSlot>§action_cancel_callback_id: Option<MetadataString>§action_cancel_source: SourceLocationMetadata§action_accepted_callback_slot: Option<CallbackSlot>§action_accepted_callback_id: Option<MetadataString>§action_accepted_source: SourceLocationMetadata§period_ms: Option<u64>§parameter_type: Option<ParameterType>§parameter_default: Option<ParameterDefault>§parameter_read_only: bool§safety: boolPhase 250 (Wave 2b) — a subscription that opted into E2E message-integrity
validation (.safety()): the runtime registers it via
create_generic_subscription_with_integrity and surfaces
IntegrityStatus through CallbackCtx::integrity().
Ungated (a plain flag) — only the runtime branch that reads it is gated on
safety-e2e, so when the capability is off the flag is simply ignored
(the subscription registers as a basic one). false for every other entity.
source: SourceLocationMetadataTrait Implementations§
Source§impl Clone for EntityMetadata
impl Clone for EntityMetadata
Source§fn clone(&self) -> EntityMetadata
fn clone(&self) -> EntityMetadata
Returns a duplicate of the value. Read more
1.0.0 · 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 EntityMetadata
impl Debug for EntityMetadata
Source§impl PartialEq for EntityMetadata
impl PartialEq for EntityMetadata
impl Eq for EntityMetadata
impl StructuralPartialEq for EntityMetadata
Auto Trait Implementations§
impl Freeze for EntityMetadata
impl RefUnwindSafe for EntityMetadata
impl Send for EntityMetadata
impl Sync for EntityMetadata
impl Unpin for EntityMetadata
impl UnsafeUnpin for EntityMetadata
impl UnwindSafe for EntityMetadata
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
Mutably borrows from an owned value. Read more