#[repr(C)]pub struct NodeGetTokenResponse {
pub token: Event,
}Expand description
The wire type corresponding to NodeGetTokenResponse.
Fields§
§token: EventTrait Implementations§
Source§impl Constrained for NodeGetTokenResponse
impl Constrained for NodeGetTokenResponse
Source§impl Debug for NodeGetTokenResponse
impl Debug for NodeGetTokenResponse
Source§impl<___D> Decode<___D> for NodeGetTokenResponsewhere
___D: InternalHandleDecoder + ?Sized + HandleDecoder,
impl<___D> Decode<___D> for NodeGetTokenResponsewhere
___D: InternalHandleDecoder + ?Sized + HandleDecoder,
Source§impl<___E> Encode<NodeGetTokenResponse, ___E> for NodeGetTokenResponsewhere
___E: InternalHandleEncoder + ?Sized + HandleEncoder,
impl<___E> Encode<NodeGetTokenResponse, ___E> for NodeGetTokenResponsewhere
___E: InternalHandleEncoder + ?Sized + HandleEncoder,
Source§const COPY_OPTIMIZATION: CopyOptimization<Self, NodeGetTokenResponse>
const COPY_OPTIMIZATION: CopyOptimization<Self, NodeGetTokenResponse>
Source§fn encode(
self,
encoder_: &mut ___E,
out_: &mut MaybeUninit<NodeGetTokenResponse>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder_: &mut ___E, out_: &mut MaybeUninit<NodeGetTokenResponse>, _: (), ) -> Result<(), EncodeError>
Encodes this value into an encoder and output.
Source§impl<___E, T0> Encode<NodeGetTokenResponse, ___E> for NodeGetTokenResponse<T0>where
___E: InternalHandleEncoder + ?Sized + HandleEncoder,
T0: Encode<Event, ___E>,
impl<___E, T0> Encode<NodeGetTokenResponse, ___E> for NodeGetTokenResponse<T0>where
___E: InternalHandleEncoder + ?Sized + HandleEncoder,
T0: Encode<Event, ___E>,
Source§fn encode(
self,
encoder_: &mut ___E,
out_: &mut MaybeUninit<NodeGetTokenResponse>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder_: &mut ___E, out_: &mut MaybeUninit<NodeGetTokenResponse>, _: (), ) -> Result<(), EncodeError>
Encodes this value into an encoder and output.
§const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
Source§impl<'a, ___E, T0> Encode<NodeGetTokenResponse, ___E> for &'a NodeGetTokenResponse<T0>
impl<'a, ___E, T0> Encode<NodeGetTokenResponse, ___E> for &'a NodeGetTokenResponse<T0>
Source§fn encode(
self,
encoder_: &mut ___E,
out_: &mut MaybeUninit<NodeGetTokenResponse>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder_: &mut ___E, out_: &mut MaybeUninit<NodeGetTokenResponse>, _: (), ) -> Result<(), EncodeError>
Encodes this value into an encoder and output.
§const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
Source§impl FromWire<NodeGetTokenResponse> for NodeGetTokenResponse
impl FromWire<NodeGetTokenResponse> for NodeGetTokenResponse
Source§const COPY_OPTIMIZATION: CopyOptimization<NodeGetTokenResponse, Self>
const COPY_OPTIMIZATION: CopyOptimization<NodeGetTokenResponse, Self>
Source§fn from_wire(wire: NodeGetTokenResponse) -> Self
fn from_wire(wire: NodeGetTokenResponse) -> Self
Converts the given owned value to this type.
Source§impl IntoNatural for NodeGetTokenResponse
impl IntoNatural for NodeGetTokenResponse
Source§type Natural = NodeGetTokenResponse
type Natural = NodeGetTokenResponse
A good default type for this wire type to convert into.
§fn into_natural(self) -> Self::Natural
fn into_natural(self) -> Self::Natural
Converts this type into its natural equivalent.
Source§impl Wire for NodeGetTokenResponse
impl Wire for NodeGetTokenResponse
Source§type Narrowed<'de> = NodeGetTokenResponse
type Narrowed<'de> = NodeGetTokenResponse
The narrowed wire type, restricted to the
'de lifetime.Source§fn zero_padding(out_: &mut MaybeUninit<Self>)
fn zero_padding(out_: &mut MaybeUninit<Self>)
Writes zeroes to the padding for this type, if any.
Auto Trait Implementations§
impl Freeze for NodeGetTokenResponse
impl RefUnwindSafe for NodeGetTokenResponse
impl Send for NodeGetTokenResponse
impl Sync for NodeGetTokenResponse
impl Unpin for NodeGetTokenResponse
impl UnsafeUnpin for NodeGetTokenResponse
impl UnwindSafe for NodeGetTokenResponse
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<T> InstanceFromServiceTransport<T> for T
impl<T> InstanceFromServiceTransport<T> for T
§fn from_service_transport(handle: T) -> T
fn from_service_transport(handle: T) -> T
Converts the given service transport handle of type
T to [Self]