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

Struct

SetMagicBackupEnabled

pub struct SetMagicBackupEnabled(pub MagicBackupEnabled);

Tuple Fields

0: MagicBackupEnabled

Trait Implementations

impl AsScalar<4> for SetMagicBackupEnabled

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

impl Clone for SetMagicBackupEnabled

fn clone(&self) -> SetMagicBackupEnabled

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 SetMagicBackupEnabled

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

Formats the value using the given formatter. Read more

impl FromScalar<4> for SetMagicBackupEnabled

fn from_scalar(value: [u32; 4]) -> Self

impl Hash for SetMagicBackupEnabled

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 SetMagicBackupEnabled

const ID: MessageId = 60usize

unique message identifier

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

target server name

impl PartialEq for SetMagicBackupEnabled

fn eq(&self, other: &SetMagicBackupEnabled) -> 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 Scalar for SetMagicBackupEnabled

fn to_message(&self) -> ScalarMessage
where Self: Sized,

impl Copy for SetMagicBackupEnabled

impl Eq for SetMagicBackupEnabled

impl StructuralPartialEq for SetMagicBackupEnabled

Auto Trait Implementations

impl Freeze for SetMagicBackupEnabled

impl RefUnwindSafe for SetMagicBackupEnabled

impl Send for SetMagicBackupEnabled

impl Sync for SetMagicBackupEnabled

impl Unpin for SetMagicBackupEnabled

impl UnsafeUnpin for SetMagicBackupEnabled

impl UnwindSafe for SetMagicBackupEnabled