pub struct Profile {
pub serial: SerialSection,
pub line_endings: LineEndingsSection,
pub modem: ModemSection,
pub screen: ScreenSection,
}Expand description
Top-level rtcom profile persisted to TOML.
Unknown TOML keys are silently ignored (serde default), and missing leaf
fields within a declared section fall back to the section’s Default
impl — so hand-edited profiles with partial overrides keep working across
rtcom versions that add fields.
Fields§
§serial: SerialSectionSerial-port settings (baud, framing, flow control).
line_endings: LineEndingsSectionLine-ending translation (CR/LF) on input, output, and echo paths.
modem: ModemSectionModem control line startup policy.
screen: ScreenSectionScreen / TUI rendering preferences.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Profile
impl<'de> Deserialize<'de> for Profile
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 Profile
impl StructuralPartialEq for Profile
Auto Trait Implementations§
impl Freeze for Profile
impl RefUnwindSafe for Profile
impl Send for Profile
impl Sync for Profile
impl Unpin for Profile
impl UnsafeUnpin for Profile
impl UnwindSafe for Profile
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.