pub struct DoctorItem {
pub name: String,
pub tier: DoctorTier,
pub need: DoctorNeed,
pub homepage: Option<String>,
pub state: DoctorState,
pub install: DoctorInstall,
pub pinned: Option<String>,
pub pack: Option<DoctorPack>,
}Expand description
One item, and this machine’s answer about it.
Fields§
§name: StringThe requirement table’s name for the item, which is also its id: a page says what the item is for in its own words, looked up by this name.
tier: DoctorTier§need: DoctorNeed§homepage: Option<String>The item’s own site, so a page can link a name to the people who
publish it. None where there is no one site: a platform’s
shell, and this project’s own connector.
state: DoctorState§install: DoctorInstall§pinned: Option<String>The version this repository pins the item at, read from the file
that pins it; None for an item nothing pins.
pack: Option<DoctorPack>The pack a page draws this item inside, with one install control
for the pack’s missing members; None for an item drawn alone.
Trait Implementations§
Source§impl Clone for DoctorItem
impl Clone for DoctorItem
Source§impl Debug for DoctorItem
impl Debug for DoctorItem
Source§impl<'de> Deserialize<'de> for DoctorItem
impl<'de> Deserialize<'de> for DoctorItem
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 DoctorItem
Source§impl PartialEq for DoctorItem
impl PartialEq for DoctorItem
Source§impl Serialize for DoctorItem
impl Serialize for DoctorItem
impl StructuralPartialEq for DoctorItem
Auto Trait Implementations§
impl Freeze for DoctorItem
impl RefUnwindSafe for DoctorItem
impl Send for DoctorItem
impl Sync for DoctorItem
impl Unpin for DoctorItem
impl UnsafeUnpin for DoctorItem
impl UnwindSafe for DoctorItem
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