pub struct MorseMessage {
pub text: String,
pub morse: String,
pub timestamp: f64,
}Expand description
Represents a Morse code message with its text, encoded form, and timestamp.
§Fields
text- The original text messagemorse- The Morse code representationtimestamp- Unix timestamp in milliseconds
Fields§
§text: String§morse: String§timestamp: f64Trait Implementations§
Source§impl Clone for MorseMessage
impl Clone for MorseMessage
Source§fn clone(&self) -> MorseMessage
fn clone(&self) -> MorseMessage
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MorseMessage
impl Debug for MorseMessage
Source§impl<'de> Deserialize<'de> for MorseMessage
impl<'de> Deserialize<'de> for MorseMessage
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
Auto Trait Implementations§
impl Freeze for MorseMessage
impl RefUnwindSafe for MorseMessage
impl Send for MorseMessage
impl Sync for MorseMessage
impl Unpin for MorseMessage
impl UnwindSafe for MorseMessage
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