pub struct TextMessage<'a> {
pub content: &'a str,
pub to: &'a str,
}
Fields§
§content: &'a str
§to: &'a str
Auto Trait Implementations§
impl<'a> Freeze for TextMessage<'a>
impl<'a> RefUnwindSafe for TextMessage<'a>
impl<'a> Send for TextMessage<'a>
impl<'a> Sync for TextMessage<'a>
impl<'a> Unpin for TextMessage<'a>
impl<'a> UnwindSafe for TextMessage<'a>
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