#[repr(C)]pub struct Bounded32NullableString<'de> {
pub s0: OptionalString<'de>,
}Expand description
The wire type corresponding to Bounded32NullableString.
Fields§
§s0: OptionalString<'de>Trait Implementations§
Source§impl Constrained for Bounded32NullableString<'_>
impl Constrained for Bounded32NullableString<'_>
Source§impl<'de> Debug for Bounded32NullableString<'de>
impl<'de> Debug for Bounded32NullableString<'de>
Source§impl<'de, ___D> Decode<___D> for Bounded32NullableString<'de>where
___D: InternalHandleDecoder + ?Sized + Decoder<'de>,
impl<'de, ___D> Decode<___D> for Bounded32NullableString<'de>where
___D: InternalHandleDecoder + ?Sized + Decoder<'de>,
Source§impl<'a, ___E> Encode<Bounded32NullableString<'static>, ___E> for &'a Bounded32NullableStringwhere
___E: InternalHandleEncoder + ?Sized + Encoder,
impl<'a, ___E> Encode<Bounded32NullableString<'static>, ___E> for &'a Bounded32NullableStringwhere
___E: InternalHandleEncoder + ?Sized + Encoder,
Source§fn encode(
self,
encoder_: &mut ___E,
out_: &mut MaybeUninit<Bounded32NullableString<'static>>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder_: &mut ___E, out_: &mut MaybeUninit<Bounded32NullableString<'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<Bounded32NullableString<'static>, ___E> for Bounded32NullableStringwhere
___E: InternalHandleEncoder + ?Sized + Encoder,
impl<___E> Encode<Bounded32NullableString<'static>, ___E> for Bounded32NullableStringwhere
___E: InternalHandleEncoder + ?Sized + Encoder,
Source§fn encode(
self,
encoder_: &mut ___E,
out_: &mut MaybeUninit<Bounded32NullableString<'static>>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder_: &mut ___E, out_: &mut MaybeUninit<Bounded32NullableString<'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> Encode<Bounded32NullableString<'static>, ___E> for Bounded32NullableString<T0>where
___E: InternalHandleEncoder + ?Sized + Encoder,
T0: Encode<OptionalString<'static>, ___E>,
impl<___E, T0> Encode<Bounded32NullableString<'static>, ___E> for Bounded32NullableString<T0>where
___E: InternalHandleEncoder + ?Sized + Encoder,
T0: Encode<OptionalString<'static>, ___E>,
Source§fn encode(
self,
encoder_: &mut ___E,
out_: &mut MaybeUninit<Bounded32NullableString<'static>>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder_: &mut ___E, out_: &mut MaybeUninit<Bounded32NullableString<'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<Bounded32NullableString<'de>> for Bounded32NullableString
impl<'de> FromWire<Bounded32NullableString<'de>> for Bounded32NullableString
Source§fn from_wire(wire: Bounded32NullableString<'de>) -> Self
fn from_wire(wire: Bounded32NullableString<'de>) -> Self
Converts the given owned value to this type.
§const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
Source§impl<'de> FromWireRef<Bounded32NullableString<'de>> for Bounded32NullableString
impl<'de> FromWireRef<Bounded32NullableString<'de>> for Bounded32NullableString
Source§fn from_wire_ref(wire: &Bounded32NullableString<'de>) -> Self
fn from_wire_ref(wire: &Bounded32NullableString<'de>) -> Self
Converts the given reference to this type.
Source§impl<'de> IntoNatural for Bounded32NullableString<'de>
impl<'de> IntoNatural for Bounded32NullableString<'de>
Source§type Natural = Bounded32NullableString
type Natural = Bounded32NullableString
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 Bounded32NullableString<'static>
impl Wire for Bounded32NullableString<'static>
Source§type Narrowed<'de> = Bounded32NullableString<'de>
type Narrowed<'de> = Bounded32NullableString<'de>
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<'de> Freeze for Bounded32NullableString<'de>
impl<'de> RefUnwindSafe for Bounded32NullableString<'de>
impl<'de> Send for Bounded32NullableString<'de>
impl<'de> Sync for Bounded32NullableString<'de>
impl<'de> Unpin for Bounded32NullableString<'de>
impl<'de> UnsafeUnpin for Bounded32NullableString<'de>
impl<'de> !UnwindSafe for Bounded32NullableString<'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
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]