pub struct InitializeProxyRequest {
pub initialize: InitializeRequest,
}Available on crate feature
unstable_protocol_v2 only.Expand description
Initialize request for a protocol-v2 proxy component.
This uses the same _proxy/initialize extension method as the stable
super::InitializeProxyRequest, but preserves the v2 initialize
request and response schemas.
Fields§
§initialize: InitializeRequestThe underlying protocol-v2 initialize request data.
Implementations§
Source§impl InitializeProxyRequest
impl InitializeProxyRequest
Sourcepub fn new(initialize: InitializeRequest) -> Self
pub fn new(initialize: InitializeRequest) -> Self
Create a proxy initialization request from a normal v2 initialization request.
Trait Implementations§
Source§impl Clone for InitializeProxyRequest
impl Clone for InitializeProxyRequest
Source§fn clone(&self) -> InitializeProxyRequest
fn clone(&self) -> InitializeProxyRequest
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 InitializeProxyRequest
impl Debug for InitializeProxyRequest
Source§impl<'de> Deserialize<'de> for InitializeProxyRequest
impl<'de> Deserialize<'de> for InitializeProxyRequest
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<InitializeRequest> for InitializeProxyRequest
impl From<InitializeRequest> for InitializeProxyRequest
Source§fn from(initialize: InitializeRequest) -> Self
fn from(initialize: InitializeRequest) -> Self
Converts to this type from the input type.
Source§impl JsonRpcMessage for InitializeProxyRequest
impl JsonRpcMessage for InitializeProxyRequest
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.
Source§impl JsonRpcRequest for InitializeProxyRequest
impl JsonRpcRequest for InitializeProxyRequest
Source§type Response = InitializeResponse
type Response = InitializeResponse
The type of data expected in response.
Auto Trait Implementations§
impl Freeze for InitializeProxyRequest
impl RefUnwindSafe for InitializeProxyRequest
impl Send for InitializeProxyRequest
impl Sync for InitializeProxyRequest
impl Unpin for InitializeProxyRequest
impl UnsafeUnpin for InitializeProxyRequest
impl UnwindSafe for InitializeProxyRequest
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.