From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) by lore.proxmox.com (Postfix) with ESMTPS id C58701FF1A6 for ; Tue, 24 Feb 2026 10:58:56 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 655AA2C99; Tue, 24 Feb 2026 10:59:52 +0100 (CET) From: Lukas Wagner To: pdm-devel@lists.proxmox.com Subject: [PATCH datacenter-manager v2 6/7] ui: widget: remote realm selector: add missing docstrings Date: Tue, 24 Feb 2026 10:59:12 +0100 Message-ID: <20260224095913.73320-7-l.wagner@proxmox.com> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20260224095913.73320-1-l.wagner@proxmox.com> References: <20260224095913.73320-1-l.wagner@proxmox.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Bm-Milter-Handled: 55990f41-d878-4baa-be0a-ee34c49e34d2 X-Bm-Transport-Timestamp: 1771927141203 X-SPAM-LEVEL: Spam detection results: 0 AWL 0.040 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Message-ID-Hash: AJOGW7SKJ66Q7CXTQFZ7L3O3GGG7OLLY X-Message-ID-Hash: AJOGW7SKJ66Q7CXTQFZ7L3O3GGG7OLLY X-MailFrom: l.wagner@proxmox.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.10 Precedence: list List-Id: Proxmox Datacenter Manager development discussion List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Signed-off-by: Lukas Wagner Reviewed-by: Shan Shaji Tested-by: Shan Shaji --- 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, + /// Hostname/IP of the remote that should be queried for its realms. pub hostname: AttrValue, + /// Optional fingerprint of the remote. pub fingerprint: Option, } impl RemoteRealmSelector { + /// Create a new instance of this component. pub fn new( hostname: impl IntoPropValue, fingerprint: impl IntoPropValue>, -- 2.47.3