pub struct Entry {Show 22 fields
pub name: String,
pub host: String,
pub port: u16,
pub protocol: Protocol,
pub encoding: Encoding,
pub username: String,
pub password: String,
pub auto_login: bool,
pub term_type: String,
pub cols: u16,
pub rows: u16,
pub font: u8,
pub ice: Option<bool>,
pub baud: u32,
pub crt: Option<CrtMode>,
pub key_file: String,
pub comment: String,
pub keychain: bool,
pub pinned: bool,
pub added: Option<u64>,
pub last_connected: Option<u64>,
pub calls: u32,
}Fields§
§name: String§host: String§port: u16§protocol: Protocol§encoding: Encoding§username: String§password: StringStored in plain text, as in other BBS dialers.
auto_login: boolAnswer the BBS’s login prompts with username and password.
term_type: String§cols: u16Screen size: one of SCREEN_MODES.
rows: u16§font: u8The font, as a CTerm font ID: 0 for CP437, or an Amiga font for Amiga BBSes.
ice: Option<bool>iCE colors (the blink bit as a bright background) from the start:
None leaves it to the BBS (CSI ?33h), as before.
baud: u32Baud rate emulation: show what the BBS sends at this speed, as over a modem (0: as fast as it arrives).
crt: Option<CrtMode>Phosphor mode for this system; None follows the global setting.
key_file: StringSSH private key to try first; otherwise the SSH agent and the usual
~/.ssh/id_* files are tried.
comment: String§keychain: boolThe password is kept in the OS keychain rather than in password.
pinned: boolPinned entries sort ahead of the rest.
added: Option<u64>Unix timestamps.
last_connected: Option<u64>§calls: u32Implementations§
Source§impl Entry
impl Entry
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Entry
impl<'de> Deserialize<'de> for Entry
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
impl Eq for Entry
impl StructuralPartialEq for Entry
Auto Trait Implementations§
impl Freeze for Entry
impl RefUnwindSafe for Entry
impl Send for Entry
impl Sync for Entry
impl Unpin for Entry
impl UnsafeUnpin for Entry
impl UnwindSafe for Entry
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