Be aware: Foundation will NEVER ask for your seed words, device PIN, or call you unexpectedly. If anyone does, it's a scam.

Struct

GetUsbEnabled

pub struct GetUsbEnabled;

Trait Implementations

impl AsScalar<1> for GetUsbEnabled

fn as_scalar(&self) -> [u32; 1]

impl BlockingScalar for GetUsbEnabled

type Response = UsbEnabled

response type for this message

impl Clone for GetUsbEnabled

fn clone(&self) -> GetUsbEnabled

Returns a duplicate of the value. Read more
1.0.0

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more

impl Debug for GetUsbEnabled

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

impl Default for GetUsbEnabled

fn default() -> GetUsbEnabled

Returns the “default value” for a type. Read more

impl FromScalar<1> for GetUsbEnabled

fn from_scalar(_: [u32; 1]) -> Self

impl Hash for GetUsbEnabled

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given [Hasher]. Read more
1.3.0

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given [Hasher]. Read more

impl MessageId for GetUsbEnabled

const ID: MessageId = 71usize

unique message identifier

const SERVER: &'static str = "os/settings"

target server name

impl PartialEq for GetUsbEnabled

fn eq(&self, other: &GetUsbEnabled) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.

impl Copy for GetUsbEnabled

impl Eq for GetUsbEnabled

impl StructuralPartialEq for GetUsbEnabled

Auto Trait Implementations

impl Freeze for GetUsbEnabled

impl RefUnwindSafe for GetUsbEnabled

impl Send for GetUsbEnabled

impl Sync for GetUsbEnabled

impl Unpin for GetUsbEnabled

impl UnsafeUnpin for GetUsbEnabled

impl UnwindSafe for GetUsbEnabled