pub struct StatusUpdate {
pub message: String,
}Fields§
§message: StringTrait Implementations§
Source§impl Clone for StatusUpdate
impl Clone for StatusUpdate
Source§fn clone(&self) -> StatusUpdate
fn clone(&self) -> StatusUpdate
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 StatusUpdate
impl Debug for StatusUpdate
Source§impl<'de> Deserialize<'de> for StatusUpdate
impl<'de> Deserialize<'de> for StatusUpdate
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
Source§impl JsonRpcMessage for StatusUpdate
impl JsonRpcMessage for StatusUpdate
Source§fn matches_method(method: &str) -> bool
fn matches_method(method: &str) -> bool
Check if this message type matches the given method name.
Source§fn to_untyped_message(&self) -> Result<UntypedMessage, Error>
fn to_untyped_message(&self) -> Result<UntypedMessage, Error>
Convert this message into an untyped message.
Source§impl Serialize for StatusUpdate
impl Serialize for StatusUpdate
impl JsonRpcNotification for StatusUpdate
Auto Trait Implementations§
impl Freeze for StatusUpdate
impl RefUnwindSafe for StatusUpdate
impl Send for StatusUpdate
impl Sync for StatusUpdate
impl Unpin for StatusUpdate
impl UnsafeUnpin for StatusUpdate
impl UnwindSafe for StatusUpdate
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