pub struct HelperIdentity {
pub name: String,
pub version: String,
pub protocol: u32,
pub toolchains: Vec<String>,
pub capabilities: Vec<Capability>,
pub executes: Vec<Execution>,
}Expand description
What a helper says about itself.
Fields§
§name: StringHelper name, as doctor reports it.
version: StringHelper version.
protocol: u32The exact protocol revision it speaks.
toolchains: Vec<String>The toolchains it was built against, as the compiler spells them.
A helper built for one compiler release cannot be trusted against another, so this is matched against the project’s own toolchain rather than assumed compatible.
capabilities: Vec<Capability>What it can supply.
executes: Vec<Execution>The classes of execution it will act on when it is permitted them.
Stated so that permitting something this helper would not do can be refused rather than accepted and forgotten. A permission that changes nothing is worse than one that is turned down: somebody granted it, and the thin answer that follows looks like the project’s own.
Trait Implementations§
Source§impl Clone for HelperIdentity
impl Clone for HelperIdentity
Source§fn clone(&self) -> HelperIdentity
fn clone(&self) -> HelperIdentity
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 HelperIdentity
impl Debug for HelperIdentity
Source§impl<'de> Deserialize<'de> for HelperIdentity
impl<'de> Deserialize<'de> for HelperIdentity
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for HelperIdentity
Source§impl PartialEq for HelperIdentity
impl PartialEq for HelperIdentity
Source§impl Serialize for HelperIdentity
impl Serialize for HelperIdentity
impl StructuralPartialEq for HelperIdentity
Auto Trait Implementations§
impl Freeze for HelperIdentity
impl RefUnwindSafe for HelperIdentity
impl Send for HelperIdentity
impl Sync for HelperIdentity
impl Unpin for HelperIdentity
impl UnsafeUnpin for HelperIdentity
impl UnwindSafe for HelperIdentity
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