Struct rsiot_messages_core::msg_meta::ComponentId
source · pub struct ComponentId(/* private fields */);
Expand description
Идентификатор сервиса
Implementations§
source§impl ComponentId
impl ComponentId
pub fn new(service_id: &ExecutorId, prefix: &str) -> Self
Trait Implementations§
source§impl Clone for ComponentId
impl Clone for ComponentId
source§fn clone(&self) -> ComponentId
fn clone(&self) -> ComponentId
Returns a copy 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 ComponentId
impl Debug for ComponentId
source§impl Default for ComponentId
impl Default for ComponentId
source§fn default() -> ComponentId
fn default() -> ComponentId
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ComponentId
impl<'de> Deserialize<'de> for ComponentId
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Display for ComponentId
impl Display for ComponentId
source§impl PartialEq for ComponentId
impl PartialEq for ComponentId
source§fn eq(&self, other: &ComponentId) -> bool
fn eq(&self, other: &ComponentId) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ComponentId
impl Serialize for ComponentId
impl StructuralPartialEq for ComponentId
Auto Trait Implementations§
impl RefUnwindSafe for ComponentId
impl Send for ComponentId
impl Sync for ComponentId
impl Unpin for ComponentId
impl UnwindSafe for ComponentId
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