pub struct GitDiffCommandPayload {
pub session_id: String,
pub command: ClientCommand,
}Fields§
§session_id: String§command: ClientCommandTrait Implementations§
Source§impl Clone for GitDiffCommandPayload
impl Clone for GitDiffCommandPayload
Source§impl Debug for GitDiffCommandPayload
impl Debug for GitDiffCommandPayload
Source§impl<'de> Deserialize<'de> for GitDiffCommandPayload
impl<'de> Deserialize<'de> for GitDiffCommandPayload
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 GitDiffCommandPayload
impl JsonRpcMessage for GitDiffCommandPayload
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 GitDiffCommandPayloadwhere
Self: JsonRpcMessage,
Auto Trait Implementations§
impl Freeze for GitDiffCommandPayload
impl RefUnwindSafe for GitDiffCommandPayload
impl Send for GitDiffCommandPayload
impl Sync for GitDiffCommandPayload
impl Unpin for GitDiffCommandPayload
impl UnsafeUnpin for GitDiffCommandPayload
impl UnwindSafe for GitDiffCommandPayload
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
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.