//! # D-Bus interface proxy for: `org.dunstproject.cmd0` //! //! This code was generated by `zbus-xmlgen` `4.1.0` from D-Bus introspection data. //! Source: `Interface '/org/freedesktop/Notifications' from service 'org.freedesktop.Notifications' on system bus`. //! //! You may prefer to adapt it, instead of using it verbatim. //! //! More information can be found in the [Writing a client proxy] section of the zbus //! documentation. //! //! This type implements the [D-Bus standard interfaces], (`org.freedesktop.DBus.*`) for which the //! following zbus API can be used: //! //! * [`zbus::fdo::PropertiesProxy`] //! * [`zbus::fdo::IntrospectableProxy`] //! * [`zbus::fdo::PeerProxy`] //! //! Consequently `zbus-xmlgen` did not generate code for the above interfaces. //! //! [Writing a client proxy]: https://dbus2.github.io/zbus/client.html //! [D-Bus standard interfaces]: https://dbus.freedesktop.org/doc/dbus-specification.html#standard-interfaces, use zbus::proxy; #[proxy( interface = "org.dunstproject.cmd0", default_service = "org.freedesktop.Notifications", default_path = "/org/freedesktop/Notifications" )] trait cmd0 { /// ContextMenuCall method fn context_menu_call(&self) -> zbus::Result<()>; /// NotificationAction method fn notification_action(&self, number: u32) -> zbus::Result<()>; /// NotificationClearHistory method fn notification_clear_history(&self) -> zbus::Result<()>; /// NotificationCloseAll method fn notification_close_all(&self) -> zbus::Result<()>; /// NotificationCloseLast method fn notification_close_last(&self) -> zbus::Result<()>; /// NotificationListHistory method fn notification_list_history( &self, ) -> zbus::Result>>; /// NotificationPopHistory method fn notification_pop_history(&self, id: u32) -> zbus::Result<()>; /// NotificationRemoveFromHistory method fn notification_remove_from_history(&self, id: u32) -> zbus::Result<()>; /// NotificationShow method fn notification_show(&self) -> zbus::Result<()>; /// Ping method fn ping(&self) -> zbus::Result<()>; /// RuleEnable method fn rule_enable(&self, name: &str, state: i32) -> zbus::Result<()>; /// displayedLength property #[zbus(property, name = "displayedLength")] fn displayed_length(&self) -> zbus::Result; /// historyLength property #[zbus(property, name = "historyLength")] fn history_length(&self) -> zbus::Result; /// pauseLevel property #[zbus(property, name = "pauseLevel")] fn pause_level(&self) -> zbus::Result; #[zbus(property, name = "pauseLevel")] fn set_pause_level(&self, value: u32) -> zbus::Result<()>; /// paused property #[zbus(property, name = "paused")] fn paused(&self) -> zbus::Result; #[zbus(property, name = "paused")] fn set_paused(&self, value: bool) -> zbus::Result<()>; /// waitingLength property #[zbus(property, name = "waitingLength")] fn waiting_length(&self) -> zbus::Result; }