pub struct Provider {
pub name: String,
pub api_version: u32,
}Expand description
The Orb that answers what a native Orb consumes from another: the name and API version it is
installed under. An Orb that #[tembra::orb] generates takes one per imported interface and
per hook it contributes to, as the fields of its Providers, which orb(..) requires.
Fields§
§name: StringThe provider’s Orb name.
api_version: u32The API version the provider is installed at.
Implementations§
Trait Implementations§
impl Eq for Provider
impl StructuralPartialEq for Provider
Auto Trait Implementations§
impl Forget for Provider
impl Freeze for Provider
impl Move for Provider
impl RefUnwindSafe for Provider
impl Send for Providerwhere
RawVecInner: Send,
impl Sync for Providerwhere
RawVecInner: Sync,
impl Unpin for Provider
impl UnsafeUnpin for Provider
impl UnwindSafe for Providerwhere
RawVecInner: UnwindSafe,
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