pub enum UpdateMessage {
NewContent(Diff),
StateInfo(StateInfoUpdate),
}
Variants§
NewContent(Diff)
StateInfo(StateInfoUpdate)
Trait Implementations§
Source§impl Clone for UpdateMessage
impl Clone for UpdateMessage
Source§fn clone(&self) -> UpdateMessage
fn clone(&self) -> UpdateMessage
Returns a copy 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 UpdateMessage
impl Debug for UpdateMessage
Source§impl<'de> Deserialize<'de> for UpdateMessage
impl<'de> Deserialize<'de> for UpdateMessage
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 UpdateMessage
impl RefUnwindSafe for UpdateMessage
impl Send for UpdateMessage
impl Sync for UpdateMessage
impl Unpin for UpdateMessage
impl UnwindSafe for UpdateMessage
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