pub struct User {
pub age: Option<u8>,
pub name: Option<String>,
}Fields§
§age: Option<u8>§name: Option<String>Trait Implementations§
Source§impl CompatFrom<User> for User
impl CompatFrom<User> for User
Source§fn compat_from(value: User) -> User
fn compat_from(value: User) -> User
Converts
value into a value of this type.Source§impl<'a, ___E> Encode<User<'static>, ___E> for &'a Userwhere
___E: Encoder + ?Sized,
impl<'a, ___E> Encode<User<'static>, ___E> for &'a Userwhere
___E: Encoder + ?Sized,
Source§impl<___E> Encode<User<'static>, ___E> for Userwhere
___E: Encoder + ?Sized,
impl<___E> Encode<User<'static>, ___E> for Userwhere
___E: Encoder + ?Sized,
Source§impl<'de> FromWireRef<User<'de>> for User
impl<'de> FromWireRef<User<'de>> for User
Source§fn from_wire_ref(wire: &User<'de>) -> User
fn from_wire_ref(wire: &User<'de>) -> User
Converts the given reference to this type.
Source§impl Ord for User
impl Ord for User
Source§impl PartialOrd for User
impl PartialOrd for User
impl Eq for User
impl StructuralPartialEq for User
Auto Trait Implementations§
impl Freeze for User
impl RefUnwindSafe for User
impl Send for User
impl Sync for User
impl Unpin for User
impl UnsafeUnpin for User
impl UnwindSafe for User
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,
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, 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]