pub struct UrlInfo {
pub name: String,
pub url: String,
pub up: bool,
pub description: Option<String>,
}Expand description
One service link derived from service_links.env (or embedded defaults).
Fields§
§name: StringDisplay name (e.g. Homepage).
url: StringAbsolute URL including scheme, host, and port.
up: boolTCP probe on the box loopback for this link’s port (true = accepting).
description: Option<String>Short blurb for known Horto services when catalog matches.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for UrlInfo
impl<'de> Deserialize<'de> for UrlInfo
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 UrlInfo
impl RefUnwindSafe for UrlInfo
impl Send for UrlInfo
impl Sync for UrlInfo
impl Unpin for UrlInfo
impl UnsafeUnpin for UrlInfo
impl UnwindSafe for UrlInfo
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