pub struct ServiceInfo {
pub domain: &'static str,
pub name: &'static str,
pub address: &'static str,
pub key: Option<&'static str>,
pub shape: Shape,
pub reply: Shape,
pub host: Option<&'static str>,
}Expand description
A service’s descriptor: its domain and name, address and shapes.
Fields§
§domain: &'static strIts place in the tree: block, world…
name: &'static str§address: &'static str§key: Option<&'static str>§shape: Shape§reply: Shape§host: Option<&'static str>The Java host’s method answering it (NativeBridge.<host>), for an action.
Auto Trait Implementations§
impl Freeze for ServiceInfo
impl RefUnwindSafe for ServiceInfo
impl Send for ServiceInfo
impl Sync for ServiceInfo
impl Unpin for ServiceInfo
impl UnsafeUnpin for ServiceInfo
impl UnwindSafe for ServiceInfo
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