#[repr(C)]pub struct NodeProperty2<'de> {
pub key: WireString<'de>,
pub value: NodePropertyValue<'de>,
}Expand description
The wire type corresponding to NodeProperty2.
Fields§
§key: WireString<'de>§value: NodePropertyValue<'de>Trait Implementations§
Source§impl<'de> Debug for NodeProperty2<'de>
impl<'de> Debug for NodeProperty2<'de>
Source§impl<___D> Decode<___D> for NodeProperty2<'static>where
___D: InternalHandleDecoder + ?Sized + Decoder,
impl<___D> Decode<___D> for NodeProperty2<'static>where
___D: InternalHandleDecoder + ?Sized + Decoder,
Source§impl<'a, ___E> Encode<NodeProperty2<'static>, ___E> for &'a NodeProperty2where
___E: InternalHandleEncoder + ?Sized + Encoder,
impl<'a, ___E> Encode<NodeProperty2<'static>, ___E> for &'a NodeProperty2where
___E: InternalHandleEncoder + ?Sized + Encoder,
Source§fn encode(
self,
encoder_: &mut ___E,
out_: &mut MaybeUninit<NodeProperty2<'static>>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder_: &mut ___E, out_: &mut MaybeUninit<NodeProperty2<'static>>, _: (), ) -> Result<(), EncodeError>
Encodes this value into an encoder and output.
§const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
Source§impl<___E> Encode<NodeProperty2<'static>, ___E> for NodeProperty2where
___E: InternalHandleEncoder + ?Sized + Encoder,
impl<___E> Encode<NodeProperty2<'static>, ___E> for NodeProperty2where
___E: InternalHandleEncoder + ?Sized + Encoder,
Source§fn encode(
self,
encoder_: &mut ___E,
out_: &mut MaybeUninit<NodeProperty2<'static>>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder_: &mut ___E, out_: &mut MaybeUninit<NodeProperty2<'static>>, _: (), ) -> Result<(), EncodeError>
Encodes this value into an encoder and output.
§const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
Source§impl<___E, T0, T1> Encode<NodeProperty2<'static>, ___E> for NodeProperty2<T0, T1>where
___E: InternalHandleEncoder + ?Sized + Encoder,
T0: Encode<WireString<'static>, ___E>,
T1: Encode<NodePropertyValue<'static>, ___E>,
impl<___E, T0, T1> Encode<NodeProperty2<'static>, ___E> for NodeProperty2<T0, T1>where
___E: InternalHandleEncoder + ?Sized + Encoder,
T0: Encode<WireString<'static>, ___E>,
T1: Encode<NodePropertyValue<'static>, ___E>,
Source§fn encode(
self,
encoder_: &mut ___E,
out_: &mut MaybeUninit<NodeProperty2<'static>>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder_: &mut ___E, out_: &mut MaybeUninit<NodeProperty2<'static>>, _: (), ) -> Result<(), EncodeError>
Encodes this value into an encoder and output.
§const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
Source§impl<'de> FromWire<NodeProperty2<'de>> for NodeProperty2
impl<'de> FromWire<NodeProperty2<'de>> for NodeProperty2
Source§fn from_wire(wire: NodeProperty2<'de>) -> Self
fn from_wire(wire: NodeProperty2<'de>) -> Self
Converts the given
wire to this type.§const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
Source§impl<'de> FromWireRef<NodeProperty2<'de>> for NodeProperty2
impl<'de> FromWireRef<NodeProperty2<'de>> for NodeProperty2
Source§fn from_wire_ref(wire: &NodeProperty2<'de>) -> Self
fn from_wire_ref(wire: &NodeProperty2<'de>) -> Self
Converts the given
wire reference to this type.Source§impl<'de> IntoNatural for NodeProperty2<'de>
impl<'de> IntoNatural for NodeProperty2<'de>
Source§type Natural = NodeProperty2
type Natural = NodeProperty2
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 NodeProperty2<'static>
impl Wire for NodeProperty2<'static>
Source§type Decoded<'de> = NodeProperty2<'de>
type Decoded<'de> = NodeProperty2<'de>
The decoded 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.
impl Unconstrained for NodeProperty2<'static>
Auto Trait Implementations§
impl<'de> Freeze for NodeProperty2<'de>
impl<'de> RefUnwindSafe for NodeProperty2<'de>
impl<'de> Send for NodeProperty2<'de>
impl<'de> Sync for NodeProperty2<'de>
impl<'de> Unpin for NodeProperty2<'de>
impl<'de> !UnwindSafe for NodeProperty2<'de>
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> Constrained for Twhere
T: Unconstrained,
impl<T> Constrained for Twhere
T: Unconstrained,
Source§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
Source§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
§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]