You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: mod.rs
    path of file: ./repos/super_clipboard/src/ui
    
    the code of the file until where you have to start completion: use std::str::FromStr;
use std::time::{Duration, Instant};

use arboard::Clipboard;
use device_query::DeviceState;
use global_hotkey::hotkey::HotKey;
use global_hotkey::GlobalHotKeyManager;
use iced::subscription::events_with;
use iced::widget::scrollable::Properties;
use iced::widget::{svg, Row};
use iced::{
    widget::{container, scrollable, Column},
    Element, Length, Theme,
};
use iced::{Application, Color, Command, Padding, Subscription};
use log::{info, trace};

use crate::data::load_pined;
use crate::gui::{home, settings};
use crate::passwd::PasswordGenerator;
use crate::settings::{AppSettings, ClipboardItem};
use crate::settings::{PinnedClipboard, 
    
    fn subscription(&self) -> iced::Subscription<Self::Message> {
        trace!("Subscription Batch");
        Subscription::batch(vec![
            // Check Shortcuts
            iced::time::every(Duration::from_millis(200)).map(MainMessage::CheckShortcuts),
            // Check Clipboard
            iced::time::every(Duration::from_secs(1)).map(MainMessage::CheckClipboard),
            // Check Changed Settings
            iced::time::every(Duration::from_millis(self.settings.tick_save()))
                .map(MainMessage::CheckSettings),
            events_with(|e, _status| match e {
                iced::Event::Mouse(iced::mouse::Event::CursorLeft) => {
                    Some(MainMessage::HiddeApplication)
                }
                _ => None,
            }),
        ])
    }