pub struct SetLevelRequest {
pub method: MustBeStr<(l, o, g, g, (i, n, g, char<'/'>, s, e), (t, L, e, v, e, l))>,
pub params: SetLevelRequestParams,
pub extra: Map<String, Value>,
}
Expand description
A request from the client to the server, to enable or adjust logging.
Fields§
§method: MustBeStr<(l, o, g, g, (i, n, g, char<'/'>, s, e), (t, L, e, v, e, l))>
§params: SetLevelRequestParams
§extra: Map<String, Value>
Additional parameters that are not part of the schema.
Trait Implementations§
Source§impl Clone for SetLevelRequest
impl Clone for SetLevelRequest
Source§fn clone(&self) -> SetLevelRequest
fn clone(&self) -> SetLevelRequest
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 SetLevelRequest
impl Debug for SetLevelRequest
Source§impl<'de> Deserialize<'de> for SetLevelRequest
impl<'de> Deserialize<'de> for SetLevelRequest
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 SetLevelRequest
impl PartialEq for SetLevelRequest
Source§impl Serialize for SetLevelRequest
impl Serialize for SetLevelRequest
impl StructuralPartialEq for SetLevelRequest
Auto Trait Implementations§
impl Freeze for SetLevelRequest
impl RefUnwindSafe for SetLevelRequest
impl Send for SetLevelRequest
impl Sync for SetLevelRequest
impl Unpin for SetLevelRequest
impl UnwindSafe for SetLevelRequest
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