pub struct ProgressParams {
pub token: ProgressToken,
pub value: Value,
}Fields§
§token: ProgressTokenThe progress token provided by the client or server.
value: ValueThe progress data.
Trait Implementations§
Source§impl Clone for ProgressParams
impl Clone for ProgressParams
Source§fn clone(&self) -> ProgressParams
fn clone(&self) -> ProgressParams
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 ProgressParams
impl Debug for ProgressParams
Source§impl<'de> Deserialize<'de> for ProgressParams
impl<'de> Deserialize<'de> for ProgressParams
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 FromNotice for ProgressParams
impl FromNotice for ProgressParams
const METHOD: &'static str = "$/progress"
Source§fn from_notice(notice: NotificationMessage) -> OneOf<Self, NotificationMessage>
fn from_notice(notice: NotificationMessage) -> OneOf<Self, NotificationMessage>
perform message cast
if method do not match, return
OneOf::Other(request)Source§fn into_notice(self) -> NotificationMessage
fn into_notice(self) -> NotificationMessage
helper method for specify notification down cast to generic Notification
message
Source§fn can_cast(notice: &NotificationMessage) -> bool
fn can_cast(notice: &NotificationMessage) -> bool
test method match or not
Source§impl PartialEq for ProgressParams
impl PartialEq for ProgressParams
Source§impl Serialize for ProgressParams
impl Serialize for ProgressParams
impl StructuralPartialEq for ProgressParams
Auto Trait Implementations§
impl Freeze for ProgressParams
impl RefUnwindSafe for ProgressParams
impl Send for ProgressParams
impl Sync for ProgressParams
impl Unpin for ProgressParams
impl UnwindSafe for ProgressParams
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