pub struct Service { /* private fields */ }
Implementations§
Source§impl Service
impl Service
pub const NAMESPACE: Uuid
pub fn builder( schema: impl Into<String>, name: impl Into<String>, uuid: ServiceUuid, version: u32, ) -> ServiceBuilder
pub fn lexical_id(&self) -> LexicalId
pub fn schema(&self) -> &str
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>
pub fn function_fallback(&self) -> Option<&str>
pub fn event_fallback(&self) -> Option<&str>
Trait Implementations§
Source§impl Deserialize for Service
impl Deserialize for Service
fn deserialize( deserializer: Deserializer<'_, '_>, ) -> Result<Self, DeserializeError>
Source§impl Ord for Service
impl Ord for Service
Source§impl PartialOrd for Service
impl PartialOrd for Service
Source§impl Serialize for Service
impl Serialize for Service
fn serialize(&self, serializer: Serializer<'_>) -> Result<(), SerializeError>
impl Eq for Service
impl StructuralPartialEq for Service
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