#[repr(C)]pub struct StatusWatchPowerLevelResponse {
pub current_level: u8,
}Fields§
§current_level: u8Trait Implementations§
Source§impl Clone for StatusWatchPowerLevelResponse
impl Clone for StatusWatchPowerLevelResponse
Source§fn clone(&self) -> StatusWatchPowerLevelResponse
fn clone(&self) -> StatusWatchPowerLevelResponse
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<StatusWatchPowerLevelResponse> for StatusWatchPowerLevelResponse
impl CompatFrom<StatusWatchPowerLevelResponse> for StatusWatchPowerLevelResponse
Source§fn compat_from(value: StatusWatchPowerLevelResponse) -> Self
fn compat_from(value: StatusWatchPowerLevelResponse) -> Self
Converts
value into a value of this type.Source§impl CompatFrom<StatusWatchPowerLevelResponse> for StatusWatchPowerLevelResponse
impl CompatFrom<StatusWatchPowerLevelResponse> for StatusWatchPowerLevelResponse
Source§fn compat_from(value: StatusWatchPowerLevelResponse) -> Self
fn compat_from(value: StatusWatchPowerLevelResponse) -> Self
Converts
value into a value of this type.Source§impl<___E> Encode<StatusWatchPowerLevelResponse, ___E> for StatusWatchPowerLevelResponsewhere
___E: InternalHandleEncoder + ?Sized + HandleEncoder,
impl<___E> Encode<StatusWatchPowerLevelResponse, ___E> for StatusWatchPowerLevelResponsewhere
___E: InternalHandleEncoder + ?Sized + HandleEncoder,
Source§const COPY_OPTIMIZATION: CopyOptimization<Self, StatusWatchPowerLevelResponse>
const COPY_OPTIMIZATION: CopyOptimization<Self, StatusWatchPowerLevelResponse>
Source§fn encode(
self,
encoder_: &mut ___E,
out_: &mut MaybeUninit<StatusWatchPowerLevelResponse>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder_: &mut ___E, out_: &mut MaybeUninit<StatusWatchPowerLevelResponse>, _: (), ) -> Result<(), EncodeError>
Encodes this value into an encoder and output.
Source§impl<___E> EncodeOption<WireBox<'static, StatusWatchPowerLevelResponse>, ___E> for StatusWatchPowerLevelResponsewhere
___E: Encoder + ?Sized,
StatusWatchPowerLevelResponse: Encode<StatusWatchPowerLevelResponse, ___E>,
impl<___E> EncodeOption<WireBox<'static, StatusWatchPowerLevelResponse>, ___E> for StatusWatchPowerLevelResponsewhere
___E: Encoder + ?Sized,
StatusWatchPowerLevelResponse: Encode<StatusWatchPowerLevelResponse, ___E>,
Source§fn encode_option(
this: Option<Self>,
encoder: &mut ___E,
out: &mut MaybeUninit<WireBox<'static, StatusWatchPowerLevelResponse>>,
_: (),
) -> Result<(), EncodeError>
fn encode_option( this: Option<Self>, encoder: &mut ___E, out: &mut MaybeUninit<WireBox<'static, StatusWatchPowerLevelResponse>>, _: (), ) -> Result<(), EncodeError>
Encodes this optional value into an encoder and output.
Source§impl FromWire<StatusWatchPowerLevelResponse> for StatusWatchPowerLevelResponse
impl FromWire<StatusWatchPowerLevelResponse> for StatusWatchPowerLevelResponse
Source§const COPY_OPTIMIZATION: CopyOptimization<StatusWatchPowerLevelResponse, Self>
const COPY_OPTIMIZATION: CopyOptimization<StatusWatchPowerLevelResponse, Self>
Source§fn from_wire(wire: StatusWatchPowerLevelResponse) -> Self
fn from_wire(wire: StatusWatchPowerLevelResponse) -> Self
Converts the given
wire to this type.Source§impl Hash for StatusWatchPowerLevelResponse
impl Hash for StatusWatchPowerLevelResponse
Source§impl Ord for StatusWatchPowerLevelResponse
impl Ord for StatusWatchPowerLevelResponse
Source§fn cmp(&self, other: &StatusWatchPowerLevelResponse) -> Ordering
fn cmp(&self, other: &StatusWatchPowerLevelResponse) -> 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 StatusWatchPowerLevelResponse
impl PartialEq for StatusWatchPowerLevelResponse
Source§fn eq(&self, other: &StatusWatchPowerLevelResponse) -> bool
fn eq(&self, other: &StatusWatchPowerLevelResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for StatusWatchPowerLevelResponse
impl PartialOrd for StatusWatchPowerLevelResponse
impl Copy for StatusWatchPowerLevelResponse
impl Eq for StatusWatchPowerLevelResponse
impl StructuralPartialEq for StatusWatchPowerLevelResponse
Auto Trait Implementations§
impl Freeze for StatusWatchPowerLevelResponse
impl RefUnwindSafe for StatusWatchPowerLevelResponse
impl Send for StatusWatchPowerLevelResponse
impl Sync for StatusWatchPowerLevelResponse
impl Unpin for StatusWatchPowerLevelResponse
impl UnwindSafe for StatusWatchPowerLevelResponse
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> 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]