use lldap_model::*; use yew::prelude::*; pub struct App {} pub enum Msg { BindRequest(BindRequest), ListUsersRequest(ListUsersRequest), } impl Component for App { type Message = Msg; type Properties = (); fn create(_: Self::Properties, _: ComponentLink) -> Self { App {} } fn update(&mut self, _msg: Self::Message) -> ShouldRender { true } fn change(&mut self, _: Self::Properties) -> ShouldRender { false } fn view(&self) -> Html { html! {

{ "Hello world!" }

} } }