pub struct EnhancedProgressNotification {
pub token: ProgressToken,
pub message: Option<String>,
pub percentage: Option<f32>,
pub total: Option<u64>,
pub current: u64,
}
Expand description
Enhanced progress notification
Fieldsยง
ยงtoken: ProgressToken
ยงmessage: Option<String>
ยงpercentage: Option<f32>
ยงtotal: Option<u64>
ยงcurrent: u64
Trait Implementationsยง
Sourceยงimpl Clone for EnhancedProgressNotification
impl Clone for EnhancedProgressNotification
Sourceยงfn clone(&self) -> EnhancedProgressNotification
fn clone(&self) -> EnhancedProgressNotification
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<'de> Deserialize<'de> for EnhancedProgressNotification
impl<'de> Deserialize<'de> for EnhancedProgressNotification
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 PartialEq for EnhancedProgressNotification
impl PartialEq for EnhancedProgressNotification
Sourceยงfn eq(&self, other: &EnhancedProgressNotification) -> bool
fn eq(&self, other: &EnhancedProgressNotification) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for EnhancedProgressNotification
Auto Trait Implementationsยง
impl Freeze for EnhancedProgressNotification
impl RefUnwindSafe for EnhancedProgressNotification
impl Send for EnhancedProgressNotification
impl Sync for EnhancedProgressNotification
impl Unpin for EnhancedProgressNotification
impl UnwindSafe for EnhancedProgressNotification
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