pub struct DictionaryValue<'de> { /* private fields */ }Implementations§
Source§impl<'de> DictionaryValue<'de>
impl<'de> DictionaryValue<'de>
pub fn is_some(&self) -> bool
pub fn is_none(&self) -> bool
pub fn as_ref(&self) -> Option<&DictionaryValue<'de>>
pub fn into_option(self) -> Option<DictionaryValue<'de>>
Trait Implementations§
Source§impl<'de> Debug for DictionaryValue<'de>
impl<'de> Debug for DictionaryValue<'de>
Source§impl<___D> Decode<___D> for DictionaryValue<'static>where
___D: InternalHandleDecoder + Decoder + ?Sized,
impl<___D> Decode<___D> for DictionaryValue<'static>where
___D: InternalHandleDecoder + Decoder + ?Sized,
Source§impl<'a, ___E> EncodeOption<DictionaryValue<'static>, ___E> for &'a DictionaryValue
impl<'a, ___E> EncodeOption<DictionaryValue<'static>, ___E> for &'a DictionaryValue
Source§fn encode_option(
this: Option<&'a DictionaryValue>,
encoder: &mut ___E,
out: &mut MaybeUninit<DictionaryValue<'static>>,
_: (),
) -> Result<(), EncodeError>
fn encode_option( this: Option<&'a DictionaryValue>, encoder: &mut ___E, out: &mut MaybeUninit<DictionaryValue<'static>>, _: (), ) -> Result<(), EncodeError>
Encodes this optional value into an encoder and output.
Source§impl<___E> EncodeOption<DictionaryValue<'static>, ___E> for DictionaryValue
impl<___E> EncodeOption<DictionaryValue<'static>, ___E> for DictionaryValue
Source§fn encode_option(
this: Option<DictionaryValue>,
encoder: &mut ___E,
out: &mut MaybeUninit<DictionaryValue<'static>>,
_: (),
) -> Result<(), EncodeError>
fn encode_option( this: Option<DictionaryValue>, encoder: &mut ___E, out: &mut MaybeUninit<DictionaryValue<'static>>, _: (), ) -> Result<(), EncodeError>
Encodes this optional value into an encoder and output.
Source§impl<'de> FromWireOption<DictionaryValue<'de>> for DictionaryValue
impl<'de> FromWireOption<DictionaryValue<'de>> for DictionaryValue
Source§fn from_wire_option(wire: DictionaryValue<'de>) -> Option<DictionaryValue>
fn from_wire_option(wire: DictionaryValue<'de>) -> Option<DictionaryValue>
Converts the given
wire to an option of this type.Source§impl<'de> IntoNatural for DictionaryValue<'de>
impl<'de> IntoNatural for DictionaryValue<'de>
Source§type Natural = Option<DictionaryValue>
type Natural = Option<DictionaryValue>
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 DictionaryValue<'static>
impl Wire for DictionaryValue<'static>
Source§type Owned<'de> = DictionaryValue<'de>
type Owned<'de> = DictionaryValue<'de>
The owned wire type, restricted to the
'de lifetime.Source§fn zero_padding(out: &mut MaybeUninit<DictionaryValue<'static>>)
fn zero_padding(out: &mut MaybeUninit<DictionaryValue<'static>>)
Writes zeroes to the padding for this type, if any.
impl Unconstrained for DictionaryValue<'static>
Auto Trait Implementations§
impl<'de> Freeze for DictionaryValue<'de>
impl<'de> RefUnwindSafe for DictionaryValue<'de>
impl<'de> Send for DictionaryValue<'de>
impl<'de> Sync for DictionaryValue<'de>
impl<'de> Unpin for DictionaryValue<'de>
impl<'de> !UnwindSafe for DictionaryValue<'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]