pub struct PlatformInfo {
pub public_base_url: String,
pub contact_emails: Map<String, Value>,
pub setup_complete: bool,
pub registration_open: bool,
}Expand description
What an unauthenticated page may know about this deployment. Deliberately minimal — no secrets and no wizard step names, so a probe cannot enumerate what setup still has pending.
Fields§
§public_base_url: StringThe platform’s own base URL, so a client need not bake it into its bundle.
contact_emails: Map<String, Value>Role → address. Always an object, possibly empty — a client gates each link on presence rather than handling nulls.
setup_complete: boolTrue once the platform is live.
registration_open: boolTrait Implementations§
Source§impl Clone for PlatformInfo
impl Clone for PlatformInfo
Source§fn clone(&self) -> PlatformInfo
fn clone(&self) -> PlatformInfo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PlatformInfo
impl Debug for PlatformInfo
Source§impl Default for PlatformInfo
impl Default for PlatformInfo
Source§fn default() -> PlatformInfo
fn default() -> PlatformInfo
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PlatformInfo
impl<'de> Deserialize<'de> for PlatformInfo
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
Source§impl PartialEq for PlatformInfo
impl PartialEq for PlatformInfo
Source§impl Serialize for PlatformInfo
impl Serialize for PlatformInfo
impl StructuralPartialEq for PlatformInfo
Auto Trait Implementations§
impl Freeze for PlatformInfo
impl RefUnwindSafe for PlatformInfo
impl Send for PlatformInfo
impl Sync for PlatformInfo
impl Unpin for PlatformInfo
impl UnsafeUnpin for PlatformInfo
impl UnwindSafe for PlatformInfo
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