Struct aldrin_core::introspection::Service
source · pub struct Service { /* private fields */ }Implementations§
source§impl Service
impl Service
pub const NAMESPACE: Uuid = _
pub fn builder( name: impl Into<String>, uuid: ServiceUuid, version: u32, ) -> ServiceBuilder
pub fn name(&self) -> &str
pub fn uuid(&self) -> ServiceUuid
pub fn version(&self) -> u32
pub fn functions(&self) -> &BTreeMap<u32, Function>
pub fn events(&self) -> &BTreeMap<u32, Event>
Trait Implementations§
source§impl Deserialize for Service
impl Deserialize for Service
fn deserialize( deserializer: Deserializer<'_, '_>, ) -> Result<Self, DeserializeError>
Auto Trait Implementations§
impl Freeze for Service
impl RefUnwindSafe for Service
impl Send for Service
impl Sync for Service
impl Unpin for Service
impl UnwindSafe for Service
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)