pub struct ServiceInfo {
pub name: String,
pub url: Option<String>,
pub ports: BTreeMap<String, u16>,
pub installed: bool,
pub backup_enabled: bool,
pub tailscale_exposed: bool,
}Fields§
§name: String§url: Option<String>§ports: BTreeMap<String, u16>§installed: bool§backup_enabled: boolTrue when the service’s metadata.toml records
backup_enabled = true. Used by ryra status to count
services included in the next backup run.
tailscale_exposed: boolTrue when the service’s URL classifies as a Tailscale
exposure (.ts.net hostname). Used to count services
advertised on the tailnet.
Auto Trait Implementations§
impl Freeze for ServiceInfo
impl RefUnwindSafe for ServiceInfo
impl Send for ServiceInfo
impl Sync for ServiceInfo
impl Unpin for ServiceInfo
impl UnsafeUnpin for ServiceInfo
impl UnwindSafe for ServiceInfo
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