[pdm-devel] [PATCH datacenter-manager 6/7] ui: widget: remote realm selector: add missing docstrings
Lukas Wagner
l.wagner at proxmox.com
Mon Dec 29 14:44:44 CET 2025
Signed-off-by: Lukas Wagner <l.wagner at proxmox.com>
---
ui/src/widget/remote_realm_selector.rs | 3 +++
1 file changed, 3 insertions(+)
diff --git a/ui/src/widget/remote_realm_selector.rs b/ui/src/widget/remote_realm_selector.rs
index 3ee8b2d2..7ba8c633 100644
--- a/ui/src/widget/remote_realm_selector.rs
+++ b/ui/src/widget/remote_realm_selector.rs
@@ -25,12 +25,15 @@ pub struct RemoteRealmSelector {
#[prop_or_default]
pub default: Option<AttrValue>,
+ /// Hostname/IP of the remote that should be queried for its realms.
pub hostname: AttrValue,
+ /// Optional fingerprint of the remote.
pub fingerprint: Option<AttrValue>,
}
impl RemoteRealmSelector {
+ /// Create a new instance of this component.
pub fn new(
hostname: impl IntoPropValue<AttrValue>,
fingerprint: impl IntoPropValue<Option<AttrValue>>,
--
2.47.3
More information about the pdm-devel
mailing list