pub struct SearchHit {
pub name: String,
pub description: String,
pub installed: bool,
pub supports: Vec<String>,
pub recommended_ram_mb: Option<u64>,
}Expand description
One installable service from a registry search.
Fields§
§name: String§description: String§installed: bool§supports: Vec<String>Integrations the service supports (e.g. “oidc”, “smtp”).
recommended_ram_mb: Option<u64>Recommended RAM in MB from the manifest, when declared. Lets callers warn before an install would overcommit the machine’s memory.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SearchHit
impl<'de> Deserialize<'de> for SearchHit
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
Auto Trait Implementations§
impl Freeze for SearchHit
impl RefUnwindSafe for SearchHit
impl Send for SearchHit
impl Sync for SearchHit
impl Unpin for SearchHit
impl UnsafeUnpin for SearchHit
impl UnwindSafe for SearchHit
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