pub struct SessionUsageParams {
pub usage: SessionUsageEvent,
}Expand description
Parameters for _aether/session_usage notifications.
Fields§
§usage: SessionUsageEventTrait Implementations§
Source§impl Clone for SessionUsageParams
impl Clone for SessionUsageParams
Source§fn clone(&self) -> SessionUsageParams
fn clone(&self) -> SessionUsageParams
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SessionUsageParams
impl Debug for SessionUsageParams
Source§impl<'de> Deserialize<'de> for SessionUsageParams
impl<'de> Deserialize<'de> for SessionUsageParams
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 SessionUsageParams
impl JsonRpcMessage for SessionUsageParams
Source§fn matches_method(__acp_method: &str) -> bool
fn matches_method(__acp_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.
impl JsonRpcNotification for SessionUsageParamswhere
Self: JsonRpcMessage,
Source§impl PartialEq for SessionUsageParams
impl PartialEq for SessionUsageParams
Source§impl Serialize for SessionUsageParams
impl Serialize for SessionUsageParams
impl StructuralPartialEq for SessionUsageParams
Auto Trait Implementations§
impl Freeze for SessionUsageParams
impl RefUnwindSafe for SessionUsageParams
impl Send for SessionUsageParams
impl Sync for SessionUsageParams
impl Unpin for SessionUsageParams
impl UnsafeUnpin for SessionUsageParams
impl UnwindSafe for SessionUsageParams
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoMaybeUndefined<T> for T
impl<T> IntoMaybeUndefined<T> for T
Source§fn into_maybe_undefined(self) -> MaybeUndefined<T>
fn into_maybe_undefined(self) -> MaybeUndefined<T>
Converts this value into a three-state builder argument.
Source§impl<T> IntoOption<T> for T
impl<T> IntoOption<T> for T
Source§fn into_option(self) -> Option<T>
fn into_option(self) -> Option<T>
Converts this value into an optional builder argument.