pub enum ClientNotification {
CancelledNotification(CancelledNotification),
InitializedNotification(InitializedNotification),
ProgressNotification(ProgressNotification),
RootsListChangedNotification(RootsListChangedNotification),
}
Expand description
ClientNotification
JSON schema
{
"anyOf": [
{
"$ref": "#/definitions/CancelledNotification"
},
{
"$ref": "#/definitions/InitializedNotification"
},
{
"$ref": "#/definitions/ProgressNotification"
},
{
"$ref": "#/definitions/RootsListChangedNotification"
}
]
}
Variants§
CancelledNotification(CancelledNotification)
InitializedNotification(InitializedNotification)
ProgressNotification(ProgressNotification)
RootsListChangedNotification(RootsListChangedNotification)
Trait Implementations§
Source§impl Clone for ClientNotification
impl Clone for ClientNotification
Source§fn clone(&self) -> ClientNotification
fn clone(&self) -> ClientNotification
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 ClientNotification
impl Debug for ClientNotification
Source§impl<'de> Deserialize<'de> for ClientNotification
impl<'de> Deserialize<'de> for ClientNotification
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 From<&CancelledNotification> for ClientNotification
impl From<&CancelledNotification> for ClientNotification
Source§fn from(value: &CancelledNotification) -> Self
fn from(value: &CancelledNotification) -> Self
Converts to this type from the input type.
Source§impl From<&ClientNotification> for ClientNotification
impl From<&ClientNotification> for ClientNotification
Source§fn from(value: &ClientNotification) -> Self
fn from(value: &ClientNotification) -> Self
Converts to this type from the input type.
Source§impl From<&InitializedNotification> for ClientNotification
impl From<&InitializedNotification> for ClientNotification
Source§fn from(value: &InitializedNotification) -> Self
fn from(value: &InitializedNotification) -> Self
Converts to this type from the input type.
Source§impl From<&ProgressNotification> for ClientNotification
impl From<&ProgressNotification> for ClientNotification
Source§fn from(value: &ProgressNotification) -> Self
fn from(value: &ProgressNotification) -> Self
Converts to this type from the input type.
Source§impl From<&RootsListChangedNotification> for ClientNotification
impl From<&RootsListChangedNotification> for ClientNotification
Source§fn from(value: &RootsListChangedNotification) -> Self
fn from(value: &RootsListChangedNotification) -> Self
Converts to this type from the input type.
Source§impl From<CancelledNotification> for ClientNotification
impl From<CancelledNotification> for ClientNotification
Source§fn from(value: CancelledNotification) -> Self
fn from(value: CancelledNotification) -> Self
Converts to this type from the input type.
Source§impl From<InitializedNotification> for ClientNotification
impl From<InitializedNotification> for ClientNotification
Source§fn from(value: InitializedNotification) -> Self
fn from(value: InitializedNotification) -> Self
Converts to this type from the input type.
Source§impl From<ProgressNotification> for ClientNotification
impl From<ProgressNotification> for ClientNotification
Source§fn from(value: ProgressNotification) -> Self
fn from(value: ProgressNotification) -> Self
Converts to this type from the input type.
Source§impl From<RootsListChangedNotification> for ClientNotification
impl From<RootsListChangedNotification> for ClientNotification
Source§fn from(value: RootsListChangedNotification) -> Self
fn from(value: RootsListChangedNotification) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ClientNotification
impl PartialEq for ClientNotification
Source§impl Serialize for ClientNotification
impl Serialize for ClientNotification
impl StructuralPartialEq for ClientNotification
Auto Trait Implementations§
impl Freeze for ClientNotification
impl RefUnwindSafe for ClientNotification
impl Send for ClientNotification
impl Sync for ClientNotification
impl Unpin for ClientNotification
impl UnwindSafe for ClientNotification
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