pub struct ElementStatusEndpoint {
pub identifier: Option<String>,
pub status: Option<ClientEnd<Status, Channel>>,
}Expand description
Status client endpoint and a plaintext name for a specific Power Element. Names are expected to be unique between elements and persistent across reboots of the same build, but consistency is not guaranteed between different builds.
Fields§
§identifier: Option<String>§status: Option<ClientEnd<Status, Channel>>Trait Implementations§
Source§impl CompatFrom<ElementStatusEndpoint> for ElementStatusEndpoint
impl CompatFrom<ElementStatusEndpoint> for ElementStatusEndpoint
Source§fn compat_from(value: ElementStatusEndpoint) -> Self
fn compat_from(value: ElementStatusEndpoint) -> Self
Converts
value into a value of this type.Source§impl CompatFrom<ElementStatusEndpoint> for ElementStatusEndpoint
impl CompatFrom<ElementStatusEndpoint> for ElementStatusEndpoint
Source§fn compat_from(value: ElementStatusEndpoint) -> Self
fn compat_from(value: ElementStatusEndpoint) -> Self
Converts
value into a value of this type.Source§impl Debug for ElementStatusEndpoint
impl Debug for ElementStatusEndpoint
Source§impl Default for ElementStatusEndpoint
impl Default for ElementStatusEndpoint
Source§fn default() -> ElementStatusEndpoint
fn default() -> ElementStatusEndpoint
Returns the “default value” for a type. Read more
Source§impl<___E> Encode<ElementStatusEndpoint<'static>, ___E> for ElementStatusEndpointwhere
___E: Encoder + ?Sized + HandleEncoder,
impl<___E> Encode<ElementStatusEndpoint<'static>, ___E> for ElementStatusEndpointwhere
___E: Encoder + ?Sized + HandleEncoder,
Source§fn encode(
self,
encoder: &mut ___E,
out: &mut MaybeUninit<ElementStatusEndpoint<'static>>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder: &mut ___E, out: &mut MaybeUninit<ElementStatusEndpoint<'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<'de> FromWire<ElementStatusEndpoint<'de>> for ElementStatusEndpoint
impl<'de> FromWire<ElementStatusEndpoint<'de>> for ElementStatusEndpoint
Source§fn from_wire(wire_: ElementStatusEndpoint<'de>) -> Self
fn from_wire(wire_: ElementStatusEndpoint<'de>) -> Self
Converts the given
wire to this type.§const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
Source§impl PartialEq for ElementStatusEndpoint
impl PartialEq for ElementStatusEndpoint
impl StructuralPartialEq for ElementStatusEndpoint
Auto Trait Implementations§
impl Freeze for ElementStatusEndpoint
impl RefUnwindSafe for ElementStatusEndpoint
impl Send for ElementStatusEndpoint
impl Sync for ElementStatusEndpoint
impl Unpin for ElementStatusEndpoint
impl UnwindSafe for ElementStatusEndpoint
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, 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]