pub trait FromId<T> { fn from_id(id: T) -> Option<&'static Self>; }
A convenience trait for retrieving a top-level entity (like a Vendor) from the PCI database by its unique ID.
Vendor
Returns the entity corresponding to id, or None if none exists.
id
None