pub struct DeviceGetNameResponse {
pub name: String,
}Fields§
§name: StringTrait Implementations§
Source§impl Clone for DeviceGetNameResponse
impl Clone for DeviceGetNameResponse
Source§fn clone(&self) -> DeviceGetNameResponse
fn clone(&self) -> DeviceGetNameResponse
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl CompatFrom<DeviceGetNameResponse> for DeviceGetNameResponse
impl CompatFrom<DeviceGetNameResponse> for DeviceGetNameResponse
Source§fn compat_from(value: DeviceGetNameResponse) -> DeviceGetNameResponse
fn compat_from(value: DeviceGetNameResponse) -> DeviceGetNameResponse
Converts
value into a value of this type.Source§impl Debug for DeviceGetNameResponse
impl Debug for DeviceGetNameResponse
Source§impl<'a, ___E> Encode<DeviceGetNameResponse<'static>, ___E> for &'a DeviceGetNameResponsewhere
___E: InternalHandleEncoder + Encoder + ?Sized,
impl<'a, ___E> Encode<DeviceGetNameResponse<'static>, ___E> for &'a DeviceGetNameResponsewhere
___E: InternalHandleEncoder + Encoder + ?Sized,
Source§fn encode(
self,
encoder_: &mut ___E,
out_: &mut MaybeUninit<DeviceGetNameResponse<'static>>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder_: &mut ___E, out_: &mut MaybeUninit<DeviceGetNameResponse<'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<DeviceGetNameResponse<'static>, ___E> for DeviceGetNameResponsewhere
___E: InternalHandleEncoder + Encoder + ?Sized,
impl<___E> Encode<DeviceGetNameResponse<'static>, ___E> for DeviceGetNameResponsewhere
___E: InternalHandleEncoder + Encoder + ?Sized,
Source§fn encode(
self,
encoder_: &mut ___E,
out_: &mut MaybeUninit<DeviceGetNameResponse<'static>>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder_: &mut ___E, out_: &mut MaybeUninit<DeviceGetNameResponse<'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<'a, ___E> EncodeOption<WireBox<'static, DeviceGetNameResponse<'static>>, ___E> for &'a DeviceGetNameResponsewhere
___E: Encoder + ?Sized,
&'a DeviceGetNameResponse: Encode<DeviceGetNameResponse<'static>, ___E>,
impl<'a, ___E> EncodeOption<WireBox<'static, DeviceGetNameResponse<'static>>, ___E> for &'a DeviceGetNameResponsewhere
___E: Encoder + ?Sized,
&'a DeviceGetNameResponse: Encode<DeviceGetNameResponse<'static>, ___E>,
Source§fn encode_option(
this: Option<&'a DeviceGetNameResponse>,
encoder: &mut ___E,
out: &mut MaybeUninit<WireBox<'static, DeviceGetNameResponse<'static>>>,
_: (),
) -> Result<(), EncodeError>
fn encode_option( this: Option<&'a DeviceGetNameResponse>, encoder: &mut ___E, out: &mut MaybeUninit<WireBox<'static, DeviceGetNameResponse<'static>>>, _: (), ) -> Result<(), EncodeError>
Encodes this optional value into an encoder and output.
Source§impl<___E> EncodeOption<WireBox<'static, DeviceGetNameResponse<'static>>, ___E> for DeviceGetNameResponse
impl<___E> EncodeOption<WireBox<'static, DeviceGetNameResponse<'static>>, ___E> for DeviceGetNameResponse
Source§fn encode_option(
this: Option<DeviceGetNameResponse>,
encoder: &mut ___E,
out: &mut MaybeUninit<WireBox<'static, DeviceGetNameResponse<'static>>>,
_: (),
) -> Result<(), EncodeError>
fn encode_option( this: Option<DeviceGetNameResponse>, encoder: &mut ___E, out: &mut MaybeUninit<WireBox<'static, DeviceGetNameResponse<'static>>>, _: (), ) -> Result<(), EncodeError>
Encodes this optional value into an encoder and output.
Source§impl<'de> FromWire<DeviceGetNameResponse<'de>> for DeviceGetNameResponse
impl<'de> FromWire<DeviceGetNameResponse<'de>> for DeviceGetNameResponse
Source§fn from_wire(wire: DeviceGetNameResponse<'de>) -> DeviceGetNameResponse
fn from_wire(wire: DeviceGetNameResponse<'de>) -> DeviceGetNameResponse
Converts the given
wire to this type.§const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
Source§impl<'de> FromWireRef<DeviceGetNameResponse<'de>> for DeviceGetNameResponse
impl<'de> FromWireRef<DeviceGetNameResponse<'de>> for DeviceGetNameResponse
Source§fn from_wire_ref(wire: &DeviceGetNameResponse<'de>) -> DeviceGetNameResponse
fn from_wire_ref(wire: &DeviceGetNameResponse<'de>) -> DeviceGetNameResponse
Converts the given
wire reference to this type.Source§impl Hash for DeviceGetNameResponse
impl Hash for DeviceGetNameResponse
Source§impl Ord for DeviceGetNameResponse
impl Ord for DeviceGetNameResponse
Source§fn cmp(&self, other: &DeviceGetNameResponse) -> Ordering
fn cmp(&self, other: &DeviceGetNameResponse) -> Ordering
1.21.0 · 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 PartialEq for DeviceGetNameResponse
impl PartialEq for DeviceGetNameResponse
Source§impl PartialOrd for DeviceGetNameResponse
impl PartialOrd for DeviceGetNameResponse
impl Eq for DeviceGetNameResponse
impl StructuralPartialEq for DeviceGetNameResponse
Auto Trait Implementations§
impl Freeze for DeviceGetNameResponse
impl RefUnwindSafe for DeviceGetNameResponse
impl Send for DeviceGetNameResponse
impl Sync for DeviceGetNameResponse
impl Unpin for DeviceGetNameResponse
impl UnwindSafe for DeviceGetNameResponse
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<WireBox<'_, W>> for Twhere
T: FromWire<W>,
impl<T, W> FromWireOption<WireBox<'_, W>> for Twhere
T: FromWire<W>,
§fn from_wire_option(wire: WireBox<'_, W>) -> Option<T>
fn from_wire_option(wire: WireBox<'_, W>) -> Option<T>
Converts the given
wire to an option of this type.§impl<T, W> FromWireOptionRef<WireBox<'_, W>> for Twhere
T: FromWireRef<W>,
impl<T, W> FromWireOptionRef<WireBox<'_, W>> for Twhere
T: FromWireRef<W>,
§fn from_wire_option_ref(wire: &WireBox<'_, W>) -> Option<T>
fn from_wire_option_ref(wire: &WireBox<'_, W>) -> Option<T>
Converts the given
wire 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]