class Spec
Defined at line 287 of file fidling/gen/sdk/fidl/fuchsia.hardware.power.source/fuchsia.hardware.power.source/cpp/fidl/fuchsia.hardware.power.source/cpp/natural_types.h
Static hardware characteristics of a power source.
Public Methods
void Spec (Storage_ storage)
void Spec ()
Defined at line 293 of file fidling/gen/sdk/fidl/fuchsia.hardware.power.source/fuchsia.hardware.power.source/cpp/fidl/fuchsia.hardware.power.source/cpp/natural_types.h
void Spec (Spec && )
Defined at line 294 of file fidling/gen/sdk/fidl/fuchsia.hardware.power.source/fuchsia.hardware.power.source/cpp/fidl/fuchsia.hardware.power.source/cpp/natural_types.h
void Spec (const Spec & other)
Spec & operator= (Spec && )
Defined at line 295 of file fidling/gen/sdk/fidl/fuchsia.hardware.power.source/fuchsia.hardware.power.source/cpp/fidl/fuchsia.hardware.power.source/cpp/natural_types.h
Spec & operator= (const Spec & other)
bool operator== (const Spec & other)
bool operator!= (const Spec & other)
bool IsEmpty ()
const std::optional< ::std::string> & name ()
Unique name of the source (e.g., "USB-C", "Main Battery").
::std::optional< ::std::string> & name ()
Unique name of the source (e.g., "USB-C", "Main Battery").
Spec & name (std::optional< ::std::string> value)
Unique name of the source (e.g., "USB-C", "Main Battery").
const std::optional< ::std::vector< ::fuchsia_hardware_power_source::Role>> & supported_roles ()
The roles this source is capable of performing.
::std::optional< ::std::vector< ::fuchsia_hardware_power_source::Role>> & supported_roles ()
The roles this source is capable of performing.
Spec & supported_roles (std::optional< ::std::vector< ::fuchsia_hardware_power_source::Role>> value)
The roles this source is capable of performing.
const std::optional< ::std::string> & manufacturer ()
The name of the manufacturer of this hardware.
::std::optional< ::std::string> & manufacturer ()
The name of the manufacturer of this hardware.
Spec & manufacturer (std::optional< ::std::string> value)
The name of the manufacturer of this hardware.
const std::optional< ::std::string> & model_name ()
The model name or number assigned by the manufacturer.
::std::optional< ::std::string> & model_name ()
The model name or number assigned by the manufacturer.
Spec & model_name (std::optional< ::std::string> value)
The model name or number assigned by the manufacturer.
const std::optional< ::fuchsia_hardware_power_source::SourceType> & type ()
The category of this power entity.
::std::optional< ::fuchsia_hardware_power_source::SourceType> & type ()
The category of this power entity.
Spec & type (std::optional< ::fuchsia_hardware_power_source::SourceType> value)
The category of this power entity.
void Spec (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )
Friends
class MemberVisitor
class NaturalTableCodingTraits