pub struct BoolPair {
pub key: String,
pub defaultval: bool,
}Fields§
§key: String§defaultval: boolTrait Implementations§
Source§impl<___E> Encode<BoolPair<'static>, ___E> for BoolPairwhere
___E: InternalHandleEncoder + ?Sized + Encoder,
impl<___E> Encode<BoolPair<'static>, ___E> for BoolPairwhere
___E: InternalHandleEncoder + ?Sized + Encoder,
Source§impl<'a, ___E> Encode<BoolPair<'static>, ___E> for &'a BoolPairwhere
___E: InternalHandleEncoder + ?Sized + Encoder,
impl<'a, ___E> Encode<BoolPair<'static>, ___E> for &'a BoolPairwhere
___E: InternalHandleEncoder + ?Sized + Encoder,
Source§impl<___E> EncodeOption<Box<'static, BoolPair<'static>>, ___E> for BoolPair
impl<___E> EncodeOption<Box<'static, BoolPair<'static>>, ___E> for BoolPair
Source§fn encode_option(
this: Option<Self>,
encoder: &mut ___E,
out: &mut MaybeUninit<Box<'static, BoolPair<'static>>>,
_: (),
) -> Result<(), EncodeError>
fn encode_option( this: Option<Self>, encoder: &mut ___E, out: &mut MaybeUninit<Box<'static, BoolPair<'static>>>, _: (), ) -> Result<(), EncodeError>
Encodes this optional value into an encoder and output.
Source§impl<'a, ___E> EncodeOption<Box<'static, BoolPair<'static>>, ___E> for &'a BoolPair
impl<'a, ___E> EncodeOption<Box<'static, BoolPair<'static>>, ___E> for &'a BoolPair
Source§fn encode_option(
this: Option<Self>,
encoder: &mut ___E,
out: &mut MaybeUninit<Box<'static, BoolPair<'static>>>,
_: (),
) -> Result<(), EncodeError>
fn encode_option( this: Option<Self>, encoder: &mut ___E, out: &mut MaybeUninit<Box<'static, BoolPair<'static>>>, _: (), ) -> Result<(), EncodeError>
Encodes this optional value into an encoder and output.
impl Eq for BoolPair
Source§impl<'de> FromWireRef<BoolPair<'de>> for BoolPair
impl<'de> FromWireRef<BoolPair<'de>> for BoolPair
Source§fn from_wire_ref(wire: &BoolPair<'de>) -> Self
fn from_wire_ref(wire: &BoolPair<'de>) -> Self
Converts the given reference to this type.
Source§impl Ord for BoolPair
impl Ord for BoolPair
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for BoolPair
impl PartialOrd for BoolPair
impl StructuralPartialEq for BoolPair
Auto Trait Implementations§
impl Freeze for BoolPair
impl RefUnwindSafe for BoolPair
impl Send for BoolPair
impl Sync for BoolPair
impl Unpin for BoolPair
impl UnsafeUnpin for BoolPair
impl UnwindSafe for BoolPair
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, W> FromWireOption<Box<'_, W>> for Twhere
T: FromWire<W>,
impl<T, W> FromWireOption<Box<'_, W>> for Twhere
T: FromWire<W>,
§fn from_wire_option(wire: Box<'_, W>) -> Option<T>
fn from_wire_option(wire: Box<'_, W>) -> Option<T>
Converts the given owned value to an option of this type.
§impl<T, W> FromWireOptionRef<Box<'_, W>> for Twhere
T: FromWireRef<W>,
impl<T, W> FromWireOptionRef<Box<'_, W>> for Twhere
T: FromWireRef<W>,
§fn from_wire_option_ref(wire: &Box<'_, W>) -> Option<T>
fn from_wire_option_ref(wire: &Box<'_, W>) -> Option<T>
Converts the given reference to an option of this type.
§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]