pub struct HandlerIdentity {
pub handler_id: String,
pub handler_version: String,
pub handler_api_version: u32,
pub effective_capabilities: Vec<String>,
}Expand description
Identity reported by the runtime in IPC v2 handshake responses.
effective_capabilities is the intersection of the model pack and handler
pack capability lists. Only these capabilities can be invoked.
Fields§
§handler_id: String§handler_version: String§handler_api_version: u32§effective_capabilities: Vec<String>Trait Implementations§
Source§impl Clone for HandlerIdentity
impl Clone for HandlerIdentity
Source§fn clone(&self) -> HandlerIdentity
fn clone(&self) -> HandlerIdentity
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for HandlerIdentity
impl Debug for HandlerIdentity
Auto Trait Implementations§
impl Freeze for HandlerIdentity
impl RefUnwindSafe for HandlerIdentity
impl Send for HandlerIdentity
impl Sync for HandlerIdentity
impl Unpin for HandlerIdentity
impl UnsafeUnpin for HandlerIdentity
impl UnwindSafe for HandlerIdentity
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§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more