pub struct Service<'a> {
pub ident: Cow<'a, str>,
pub entries: Vec<ServiceEntry<'a>>,
}Expand description
Service definition with its RPC entries.
Fields§
§ident: Cow<'a, str>§entries: Vec<ServiceEntry<'a>>Implementations§
Trait Implementations§
impl<'a> StructuralPartialEq for Service<'a>
Auto Trait Implementations§
impl<'a> Freeze for Service<'a>
impl<'a> RefUnwindSafe for Service<'a>
impl<'a> Send for Service<'a>
impl<'a> Sync for Service<'a>
impl<'a> Unpin for Service<'a>
impl<'a> UnwindSafe for Service<'a>
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