pub struct ModelMessage {
pub port_name: String,
pub content: String,
}
Fields§
§port_name: String
§content: String
Trait Implementations§
Source§impl Clone for ModelMessage
impl Clone for ModelMessage
Source§fn clone(&self) -> ModelMessage
fn clone(&self) -> ModelMessage
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for ModelMessage
impl RefUnwindSafe for ModelMessage
impl Send for ModelMessage
impl Sync for ModelMessage
impl Unpin for ModelMessage
impl UnwindSafe for ModelMessage
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